Commit 35c2b25f authored by Holger Levsen's avatar Holger Levsen
Browse files

further shrink job output boilerplates

parent 2326d159
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -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@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 $?