Created
February 7, 2013 01:07
-
-
Save smithclay/4727504 to your computer and use it in GitHub Desktop.
Run a Jenkins Build Task from the command line.
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
#!/usr/bin/env bash | |
JENKINS_URL=http://jenkins.postapp.com/job | |
if [ $# -eq 0 ] | |
then | |
echo "usage: fd <jenkins build task> [<jenkins build task> ...]" | |
fi | |
for var in "$@" | |
do | |
echo "Building $var..." | |
URL=$JENKINS_URL/qa-$var/build?delay=0sec | |
curl -G $URL | |
done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment