Created
August 28, 2018 16:17
-
-
Save aliasmee/6e01622f0dce25412cf4ff17afcb8ac0 to your computer and use it in GitHub Desktop.
Jenkins awesome
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Jenkins input curl process | |
# inputID is set input id: "" | |
curl -X POST https://admin:token@jenkins_server_url/job/projectname/job/branch/BUILD_NUMBER/input/inputID/proceedEmpty | |
curl -X POST https://admin:token@jenkins_server_url/job/projectname/job/branch/BUILD_NUMBER/input/inputID/abort |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment