Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jul 2014 21:56:23 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-svnadmin@freebsd.org
Subject:   svn commit: r362588 - svnadmin/hooks
Message-ID:  <201407222156.s6MLuNoP026140@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Tue Jul 22 21:56:23 2014
New Revision: 362588
URL: http://svnweb.freebsd.org/changeset/ports/362588
QAT: https://qat.redports.org/buildarchive/r362588/

Log:
  add post revprop hook to trigger builds in jenkins

Modified:
  svnadmin/hooks/post-revprop-change

Modified: svnadmin/hooks/post-revprop-change
==============================================================================
--- svnadmin/hooks/post-revprop-change	Tue Jul 22 21:52:21 2014	(r362587)
+++ svnadmin/hooks/post-revprop-change	Tue Jul 22 21:56:23 2014	(r362588)
@@ -50,9 +50,15 @@
 
 
 #REPOS="$1"
-#REV="$2"
+
+REV="$2"
+
 #USER="$3"
 #PROPNAME="$4"
 #ACTION="$5"
 #
 #commit-email.pl --revprop-change "$REPOS" "$REV" "$USER" "$PROPNAME" watchers@example.org
+
+TOKEN=`cat /usr/local/etc/jenkins.token`
+
+/usr/bin/fetch --no-verify-peer -o /dev/null -q "https://jenkins.freebsd.org/jenkins/job/FreeBSD_ports_ci/buildWithParameters?token=${TOKEN}&revision=${REV}" || :



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407222156.s6MLuNoP026140>