Skip to content

Instantly share code, notes, and snippets.

@dan82840
Last active February 5, 2016 07:02
Show Gist options
  • Save dan82840/d3e0f3965710c6de4044 to your computer and use it in GitHub Desktop.
Save dan82840/d3e0f3965710c6de4044 to your computer and use it in GitHub Desktop.
#!/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