Created
December 1, 2015 15:59
-
-
Save maxkarelov/1186851fbcaf813d2d2a to your computer and use it in GitHub Desktop.
create jenkins job from xml file
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
java -jar jenkins-cli.jar -s http://server create-job newmyjob < myjob.xml |
you can download jenkinscli.jar from your server, just type
http://<your_server>/cli
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Very util, can you share where can download the file jenkins-cli.jar and some example file for myjob.xml for use as template?, thank you!.