Last active
April 29, 2018 22:32
-
-
Save StefanHeimberg/486f5f171cd162d6ec5a07a9a5f5088d to your computer and use it in GitHub Desktop.
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 | |
set -e | |
remoteCall="BAMBOO_URL/api/rest/updateAndBuild.action?buildKey=PLAN_KEY" | |
echo "Detected last directory that was committed ... triggering $remoteCall" | |
curl --connect-timeout 10 --max-time 10 --silent --fail $remoteCall > /dev/null | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment