Skip to content

Instantly share code, notes, and snippets.

@davidji99
Forked from IanVaughan/trigger_ci.sh
Last active August 29, 2015 14:22
Show Gist options
  • Save davidji99/1d369d626bd73ff252f0 to your computer and use it in GitHub Desktop.
Save davidji99/1d369d626bd73ff252f0 to your computer and use it in GitHub Desktop.
# Ever wanted to force a jenkins build quickly?
# Put this file in your path somewhere, and chmod +x it
curl "http://<jenkins-server-url>/buildByToken/build?job=<job-name>&token=<token>”
# Replace <vars> with your own config
# Goto your project configure page : http://<jenkins-server-url>/job/<job-name>/configure
# And set “Trigger builds remotely” to <token>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment