Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
This script is used to execute a build on Integrity (http://integrityapp.com) every time there is a git push.
#!/bin/bash
FILE=vinagrette.last_commit.id
LAST_COMMIT=`cat $FILE`
ACTUAL_COMMIT=`git ls-remote git://git.globoi.com/vinagrette/mainline.git master | cut -f1`
if [ "$ACTUAL_COMMIT" != "$LAST_COMMIT" ]; then
wget http://macaco.globoi.com/vinagrette/builds --post-data="" -t 1 -q
wget http://macaco.globoi.com/vinagrette-acceptancetests/builds --post-data="" -t 1 -q
fi
echo $ACTUAL_COMMIT > $FILE
sleep 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.