[Qa-jenkins-scm] [jenkins.debian.net] 01/01: less verbose aborting

Holger Levsen holger at layer-acht.org
Tue Sep 19 11:37:01 UTC 2017


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 71fa4bfb29cf9311d3e67d7410806c05acf24043
Author: Holger Levsen <holger at layer-acht.org>
Date:   Tue Sep 19 13:36:56 2017 +0200

    less verbose aborting
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/abort.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/bin/abort.sh b/bin/abort.sh
index 959f7ea..cdd5494 100755
--- a/bin/abort.sh
+++ b/bin/abort.sh
@@ -1,7 +1,9 @@
 #!/bin/bash
 
-export
+# generally interesting: BUILD_* JENKINS_* JOB_* but most is in BUILD_URL, so:
+export | egrep "(BUILD_URL=)"
 TMPFILE=$(mktemp)
+
 curl https://jenkins.debian.net/jnlpJars/jenkins-cli.jar -o $TMPFILE
 java -jar $TMPFILE -s http://localhost:8080/ set-build-result aborted
 rm $TMPFILE

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list