Forked from nmiroshnichenko/gist:59b2377d9c3d9acfe965
Last active
December 3, 2015 13:20
-
-
Save iliaaw/f0e2addc8d77a05443cb to your computer and use it in GitHub Desktop.
updatejobs.sh
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
#!/bin/bash | |
JENKINS_USER= | |
JENKINS_TOKEN= | |
echo "Updating jobs for stands: $@" | |
for s in $@; do | |
echo "$s:" | |
time JENKINS_USER="$JENKINS_USER" JENKINS_TOKEN="$JENKINS_TOKEN" ./jenkinsmanager.py --deletestand "$s" | |
time JENKINS_USER="$JENKINS_USER" JENKINS_TOKEN="$JENKINS_TOKEN" ./jenkinsmanager.py --clone release "$s" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment