summaryrefslogtreecommitdiffstats
path: root/bin/abort.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/abort.sh')
-rwxr-xr-xbin/abort.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/abort.sh b/bin/abort.sh
index 959f7eac..cdd54949 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