Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save fhuitelec/9ae5687b07c6b8dcc9af6e7cd010eba5 to your computer and use it in GitHub Desktop.
Save fhuitelec/9ae5687b07c6b8dcc9af6e7cd010eba5 to your computer and use it in GitHub Desktop.
Medium article on "Replay a Jenkins build pipeline locally" - Infernal routine #medium
docker exec -i jenkins_jenkins_1 bash -c ' \
java -jar /application/vendor/jenkins/jenkins-cli.jar -s http://localhost:8080 \
replay-pipeline cd/master \
-s Jenkinsfile < /application/demo/repo/Jenkinsfile \
-s demo.Servers < /application/demo/lib/src/demo/Servers.groovy \
'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment