Created
November 16, 2015 15:58
-
-
Save nmiroshnichenko/48645a8a207697c0fd4f to your computer and use it in GitHub Desktop.
updatejobs.sh
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
#!/bin/bash │································ | |
JENKINS_USER=n.miroshnichenko │································ | |
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