Created
June 14, 2013 12:44
-
-
Save feffi/5781521 to your computer and use it in GitHub Desktop.
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
cd /Users/<your-user-name>/.jenkins/jobs/ | |
mkdir ci-template | |
cd ci-template | |
wget https://gist.github.com/feffi/5781320/raw -O build.xml | |
wget https://gist.github.com/feffi/5781450/raw -O config.xml | |
wget http://localhost:8080/jnlpJars/jenkins-cli.jar | |
java -jar jenkins-cli.jar -s http://localhost:8080 reload-configuration | |
java -jar jenkins-cli.jar -s http://localhost:8080 create-job ci-template < config.xml | |
java -jar jenkins-cli.jar -s http://localhost:8080 reload-configuration |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment