Skip to content

Instantly share code, notes, and snippets.

@nmiroshnichenko
Created November 16, 2015 15:58
Show Gist options
  • Save nmiroshnichenko/48645a8a207697c0fd4f to your computer and use it in GitHub Desktop.
Save nmiroshnichenko/48645a8a207697c0fd4f to your computer and use it in GitHub Desktop.
updatejobs.sh
#!/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