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 |