Permalink
Browse files

Merge pull request #23 from manilal/master

Updated post-commit hook template
  • Loading branch information...
2 parents cb57373 + ecd55c1 commit a9e091d0214d962973f6acc9a6948b7db0b88981 @jreese jreese committed Jul 21, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 SourceSVN/post-commit.tmpl
@@ -7,10 +7,11 @@ REV="$2"
URL="http://localhost/mantisbt/plugin.php?page=Source/checkin"
PROJECT="Repository Name"
+API_KEY="xxxxxxxxxxxxxxxxxxxxxxxxxxx"
LOG_FILE=`mktemp /tmp/svn_${PROJECT}_${REV}_log.XXX`
CURL=/usr/bin/curl
-${CURL} -d "repo_name=${PROJECT}" -d "data=${REV}" ${URL} >> ${LOG_FILE}
+${CURL} -d "repo_name=${PROJECT}" -d "data=${REV}" -d "api_key=${API_KEY}" ${URL} >> ${LOG_FILE}

0 comments on commit a9e091d

Please sign in to comment.