[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] 2 commits: reproducible OpenWrt: make job output easier to read and understand
Holger Levsen
gitlab at salsa.debian.org
Tue Nov 12 17:08:57 GMT 2019
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
6baae828 by Holger Levsen at 2019-11-12T17:02:21Z
reproducible OpenWrt: make job output easier to read and understand
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
2326d159 by Holger Levsen at 2019-11-12T17:08:31Z
shrink job output boilerplate, remove redundancy and leave line-wrapper to the browser
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
2 changed files:
- bin/common-functions.sh
- bin/reproducible_openwrt.sh
Changes:
=====================================
bin/common-functions.sh
=====================================
@@ -91,20 +91,14 @@ if [ "${0:0:5}" != "/tmp/" ] ; then
chmod +x $TTT
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 "To learn to understand this, git clone https://salsa.debian.org/qa/jenkins.debian.net.git"
- echo "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 "This invocation of this script, which is located in bin/$(basename $0),"
- echo "has been called using \"$@\" as arguments."
- echo
- echo "Please send feedback about jenkins to qa-jenkins-dev at 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 "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 "$(date -u) - start running \"$0\" (md5sum $(md5sum $0|cut -d ' ' -f1)) as \"$TTT\" on $(hostname)."
echo
# this is the "hack": call ourself as a copy in /tmp again
$TTT "$@"
=====================================
bin/reproducible_openwrt.sh
=====================================
@@ -450,8 +450,6 @@ build_two_times() {
}
-
-echo "$0 got called with '$*'"
# this script is called from positions
# * it's called from the reproducible_wrapper when running on the master
# * it's called from reproducible_opewnrt_common when doing remote builds
@@ -465,7 +463,11 @@ case $1 in
node_create_tmpdirs |\
node_debug |\
node_save_logs |\
- node_cleanup_tmpdirs) ;; # this is the allowed list
+ node_cleanup_tmpdirs) # this is the allowed list
+ echo "####"
+ echo "#### $1 $@"
+ echo "####"
+ ;;
*)
echo "Unsupported remote node function $*"
exit 1
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/compare/14b9eb29f80234683c30035aeb4105652621e7a1...2326d15967a29821eecd38d42aa82d1fe213562f
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/compare/14b9eb29f80234683c30035aeb4105652621e7a1...2326d15967a29821eecd38d42aa82d1fe213562f
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/a8452c45/attachment-0001.html>
More information about the Qa-jenkins-scm
mailing list