Last active
February 5, 2016 07:02
-
-
Save dan82840/d3e0f3965710c6de4044 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/sh | |
# | |
REPOS=$1 | |
REV=$2 | |
UUID=`sudo svnlook uuid $REPOS` | |
CI_SERVER=10.5.88.190 | |
CI_PORT=6060 | |
/usr/bin/wget \ | |
--header "Content-Type:text/plain;charset=UTF-8" \ | |
--post-data "`svnlook changed -r $REV $REPOS`" \ | |
--output-document "-" \ | |
--timeout=2 \ | |
http://${CI_SERVER}:${CI_PORT}/subversion/${UUID}/notifyCommit?rev=$REV |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment