Created
April 10, 2015 08:15
-
-
Save IanVaughan/34a966a56e511f6ce64f to your computer and use it in GitHub Desktop.
Trigger Jenkins build remotely
This file contains 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
# 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