[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] further shrink job output boilerplates

Holger Levsen gitlab at salsa.debian.org
Tue Nov 12 17:28:23 GMT 2019



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


Commits:
35c2b25f by Holger Levsen at 2019-11-12T17:28:09Z
further shrink job output boilerplates

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

- - - - -


1 changed file:

- bin/common-functions.sh


Changes:

=====================================
bin/common-functions.sh
=====================================
@@ -6,7 +6,7 @@
 # released under the GPLv2
 
 common_cleanup() {
-	echo "$(date -u) - $0 stopped running as $TTT, which will now be removed."
+	echo "$(date -u) - $(basename $0) stopped running as $TTT, which will now be removed."
 	rm -f $TTT
 }
 
@@ -90,16 +90,13 @@ if [ "${0:0:5}" != "/tmp/" ] ; then
 	cp $0 $TTT
 	chmod +x $TTT
 	echo "===================================================================================="
-	echo
 	echo "$(date -u) - running $0 (for job $WHOAREWE) on $(hostname), called using \"$@\" as arguments."
 	echo "$(date -u) - actually running \"$(basename $0)\" (md5sum $(md5sum $0|cut -d ' ' -f1)) as \"$TTT\""
 	echo
 	echo "To learn to understand this, git clone https://salsa.debian.org/qa/jenkins.debian.net.git and then have a look at the files README, INSTALL, CONTRIBUTING and maybe TODO."
 	echo
 	echo "Please send feedback about jenkins to qa-jenkins-dev at lists.alioth.debian.org, or as a bug against the 'jenkins.debian.org' pseudo-package, feedback about specific job results should go to their respective lists and/or the BTS."
-	echo
 	echo "===================================================================================="
-	echo
 	# this is the "hack": call ourself as a copy in /tmp again
 	$TTT "$@"
 	exit $?



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/35c2b25fb6b68509a25cbfb02babee177dfb1070

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/35c2b25fb6b68509a25cbfb02babee177dfb1070
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/20191112/2ba4fab3/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list