aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-02-10 02:24:23 +0000
committerMichael Scherer <misc@mageia.org>2011-02-10 02:24:23 +0000
commit80da31291fdc8e1718e9abeea778f1a41c8dc6e8 (patch)
tree3fca3ff99d3d333a70afab731cb7978b780164b3
parent10de978ddf0d5b538a32cf579e0115bc21aadcd3 (diff)
downloadpuppet-80da31291fdc8e1718e9abeea778f1a41c8dc6e8.tar
puppet-80da31291fdc8e1718e9abeea778f1a41c8dc6e8.tar.gz
puppet-80da31291fdc8e1718e9abeea778f1a41c8dc6e8.tar.bz2
puppet-80da31291fdc8e1718e9abeea778f1a41c8dc6e8.tar.xz
puppet-80da31291fdc8e1718e9abeea778f1a41c8dc6e8.zip
add url to the cia notification
-rwxr-xr-xmodules/subversion/templates/ciabot_svn.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/subversion/templates/ciabot_svn.sh b/modules/subversion/templates/ciabot_svn.sh
index bec23aad..f9fe8344 100755
--- a/modules/subversion/templates/ciabot_svn.sh
+++ b/modules/subversion/templates/ciabot_svn.sh
@@ -91,6 +91,8 @@ for file in `svnlook changed -r "$REV" "$REPOS" | cut -c 3- | sed 's/\&/\&amp;/g
files="$files<file>$file</file>"
done
+url="http://svnweb.<%= domain%>/${REPOS/\/svn\//}?view=revision&revision=$REV"
+
# Send an email with the final XML message
(cat <<EOF
From: $return_address
@@ -112,6 +114,7 @@ Subject: DeliverXML
<author>$author</author>
<files>$files</files>
<log>$log</log>
+ <url>$url</url>
<diffLines>$diff_lines</diffLines>
</commit>
</body>