Created
January 11, 2016 14:20
-
-
Save Viroide/ba84b50cb4b0e6e1e3fb to your computer and use it in GitHub Desktop.
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
| jobs=("job1" "job2" "job3"); | |
| for job in ${jobs[@]}; do | |
| curl -s http://USER:TOKEN@URL_TO_JENKINS/job/$job/config.xml > $job.xml | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment