Commit 2326d159 authored by Holger Levsen's avatar Holger Levsen
Browse files

shrink job output boilerplate, remove redundancy and leave line-wrapper to the browser



Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
parent 6baae828
...@@ -91,20 +91,14 @@ if [ "${0:0:5}" != "/tmp/" ] ; then ...@@ -91,20 +91,14 @@ if [ "${0:0:5}" != "/tmp/" ] ; then
chmod +x $TTT chmod +x $TTT
echo "====================================================================================" echo "===================================================================================="
echo echo
echo "$(date -u) - running $0 (for job $WHOAREWE) on $(hostname) now." 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
echo "To learn to understand this, git clone https://salsa.debian.org/qa/jenkins.debian.net.git" 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 "and then have a look at the files README, INSTALL, CONTRIBUTING and maybe TODO."
echo echo
echo "This invocation of this script, which is located in bin/$(basename $0)," 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 "has been called using \"$@\" as arguments."
echo
echo "Please send feedback about jenkins to qa-jenkins-dev@lists.alioth.debian.org,"
echo "or as a bug against the 'jenkins.debian.org' pseudo-package,"
echo "feedback about specific job results should go to their respective lists and/or the BTS."
echo echo
echo "====================================================================================" echo "===================================================================================="
echo "$(date -u) - start running \"$0\" (md5sum $(md5sum $0|cut -d ' ' -f1)) as \"$TTT\" on $(hostname)."
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 "$@"
......
...@@ -450,8 +450,6 @@ build_two_times() { ...@@ -450,8 +450,6 @@ build_two_times() {
} }
echo "$0 got called with '$*'"
# this script is called from positions # this script is called from positions
# * it's called from the reproducible_wrapper when running on the master # * it's called from the reproducible_wrapper when running on the master
# * it's called from reproducible_opewnrt_common when doing remote builds # * it's called from reproducible_opewnrt_common when doing remote builds
...@@ -467,7 +465,7 @@ case $1 in ...@@ -467,7 +465,7 @@ case $1 in
node_save_logs |\ node_save_logs |\
node_cleanup_tmpdirs) # this is the allowed list node_cleanup_tmpdirs) # this is the allowed list
echo "####" echo "####"
echo "#### $1" echo "#### $1 $@"
echo "####" echo "####"
;; ;;
*) *)
......
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