[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible: workaround not being able to abort jobs anymore due to...

Holger Levsen gitlab at salsa.debian.org
Sun Aug 9 09:32:20 BST 2020



Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
aa78b698 by Holger Levsen at 2020-08-09T10:32:06+02:00
reproducible: workaround not being able to abort jobs anymore due to https://www.jenkins.io/blog/2019/02/17/remoting-cli-removed/

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


2 changed files:

- bin/abort.sh
- bin/reproducible_create_meta_pkg_sets.sh


Changes:

=====================================
bin/abort.sh
=====================================
@@ -15,4 +15,5 @@ TMPFILE=$(mktemp)
 trap 'rm "$TMPFILE"' EXIT
 
 curl https://jenkins.debian.net/jnlpJars/jenkins-cli.jar -o "$TMPFILE"
+#FIXME: this is not supported anymore: https://www.jenkins.io/blog/2019/02/17/remoting-cli-removed/
 java -jar "$TMPFILE" -s http://localhost:8080/ set-build-result aborted


=====================================
bin/reproducible_create_meta_pkg_sets.sh
=====================================
@@ -564,8 +564,7 @@ done
 
 echo
 
-# abort the job if there are problems we cannot do anything about (except filing bugs! (but these are unrelated to reproducible builds...))
 if "$ABORT" && ! "$WARNING" ; then
-	exec /srv/jenkins/bin/abort.sh
+	echo "Warning: we used to abort here, but it seems this functionality is gone."
+	echo "see https://www.jenkins.io/blog/2019/02/17/remoting-cli-removed/"
 fi
-# (if there are warnings, we want to see them. aborting a job disables its notifications...)



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/aa78b6983294f694d32e6fb25b56d402c8959e2e

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/aa78b6983294f694d32e6fb25b56d402c8959e2e
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20200809/aea0061a/attachment.html>


More information about the Qa-jenkins-scm mailing list