Skip to content

Instantly share code, notes, and snippets.

@aliasmee
Created August 28, 2018 16:17
Show Gist options
  • Save aliasmee/6e01622f0dce25412cf4ff17afcb8ac0 to your computer and use it in GitHub Desktop.
Save aliasmee/6e01622f0dce25412cf4ff17afcb8ac0 to your computer and use it in GitHub Desktop.
Jenkins awesome
#!/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