Permalink
Browse files

Added API_KEY to post-commit hook template

  • Loading branch information...
1 parent cb57373 commit ecd55c1daf9484f091f2cb9dcca940d0e67120c3 @libregeek libregeek committed Jul 20, 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 ecd55c1

Please sign in to comment.