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

further shrink job output boilerplates



Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
parent 2326d159
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
# released under the GPLv2 # released under the GPLv2
common_cleanup() { 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 rm -f $TTT
} }
...@@ -90,16 +90,13 @@ if [ "${0:0:5}" != "/tmp/" ] ; then ...@@ -90,16 +90,13 @@ if [ "${0:0:5}" != "/tmp/" ] ; then
cp $0 $TTT cp $0 $TTT
chmod +x $TTT chmod +x $TTT
echo "====================================================================================" echo "===================================================================================="
echo
echo "$(date -u) - running $0 (for job $WHOAREWE) on $(hostname), called using \"$@\" as arguments." 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 "$(date -u) - actually running \"$(basename $0)\" (md5sum $(md5sum $0|cut -d ' ' -f1)) as \"$TTT\""
echo 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 "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
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 "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 "===================================================================================="
echo
# this is the "hack": call ourself as a copy in /tmp again # this is the "hack": call ourself as a copy in /tmp again
$TTT "$@" $TTT "$@"
exit $? exit $?
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment