[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] abort.sh: don't fail if there are no matching variables

Mattia Rizzolo gitlab at salsa.debian.org
Mon May 20 21:00:29 BST 2019



Mattia Rizzolo pushed to branch master at Debian QA / jenkins.debian.net


Commits:
33ea96a3 by Mattia Rizzolo at 2019-05-20T19:59:43Z
abort.sh: don't fail if there are no matching variables

Signed-off-by: Mattia Rizzolo <mattia at debian.org>

- - - - -


1 changed file:

- bin/abort.sh


Changes:

=====================================
bin/abort.sh
=====================================
@@ -3,7 +3,7 @@
 set -e
 
 # generally interesting: BUILD_* JENKINS_* JOB_* but most is in BUILD_URL, so:
-export | grep -E "(BUILD_URL=)"
+export | grep -E "(BUILD_URL=)" || :
 TMPFILE=$(mktemp)
 trap 'rm "$TMPFILE"' EXIT
 



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/33ea96a30986e6c49dc5b0d7324af137328de66e

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/33ea96a30986e6c49dc5b0d7324af137328de66e
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/20190520/1db1e6f3/attachment.html>


More information about the Qa-jenkins-scm mailing list