Skip to content

Instantly share code, notes, and snippets.

View iliaaw's full-sized avatar

Ilia Khokhriakov iliaaw

  • HeadHunter
  • Thailand, Bangkok
View GitHub Profile
#!/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