From owner-svn-ports-all@FreeBSD.ORG Tue Jul 22 21:56:24 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 07DF99E6; Tue, 22 Jul 2014 21:56:24 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EA12D2B49; Tue, 22 Jul 2014 21:56:23 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s6MLuNDg026141; Tue, 22 Jul 2014 21:56:23 GMT (envelope-from swills@svn.freebsd.org) Received: (from swills@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s6MLuNoP026140; Tue, 22 Jul 2014 21:56:23 GMT (envelope-from swills@svn.freebsd.org) Message-Id: <201407222156.s6MLuNoP026140@svn.freebsd.org> From: Steve Wills Date: Tue, 22 Jul 2014 21:56:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-svnadmin@freebsd.org Subject: svn commit: r362588 - svnadmin/hooks X-SVN-Group: ports-svnadmin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jul 2014 21:56:24 -0000 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}" || :