Date: Mon, 22 Sep 2014 18:18:23 +0000 (UTC) From: Peter Wemm <peter@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-svnadmin@freebsd.org Subject: svn commit: r368983 - svnadmin/hooks Message-ID: <201409221818.s8MIINx0036343@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: peter (src committer) Date: Mon Sep 22 18:18:22 2014 New Revision: 368983 URL: http://svnweb.freebsd.org/changeset/ports/368983 QAT: https://qat.redports.org/buildarchive/r368983/ Log: Don't hang the post-commit hook while jenkins is down. Use daemon to do the trigger post asynchronously instead. Approved by: portmgr (bdrewery) Modified: svnadmin/hooks/post-commit Modified: svnadmin/hooks/post-commit ============================================================================== --- svnadmin/hooks/post-commit Mon Sep 22 18:09:05 2014 (r368982) +++ svnadmin/hooks/post-commit Mon Sep 22 18:18:22 2014 (r368983) @@ -67,5 +67,5 @@ notify_bz.sh "$REPO" "$REV" #commit-email.pl "$REPO" "$REV" commit-watchers@example.org #log-commit.py --repository "$REPO" --revision "$REV" -TOKEN=`cat /usr/local/etc/jenkins.token | xargs` -/usr/bin/fetch --no-verify-peer -o /dev/null -q "https://jenkins.freebsd.org/jenkins/job/FreeBSD_ports_ci_head_master/buildWithParameters?token=${TOKEN}&revision=${REV}" || : +TOKEN=$(cat /usr/local/etc/jenkins.token) +daemon -f /usr/bin/fetch --no-verify-peer -o /dev/null -q "https://jenkins.freebsd.org/jenkins/job/FreeBSD_ports_ci_head_master/buildWithParameters?token=${TOKEN}&revision=${REV}"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409221818.s8MIINx0036343>