summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-04-27 19:41:54 +0200
committerHolger Levsen <holger@layer-acht.org>2014-04-27 19:42:45 +0200
commit8e3b14d2d0d8ce074dc941b0246feaaf00e67edf (patch)
tree999d088047f80013ae113188b7e0303b0ed9beed
parent2584bfa9e59a9810a3c8326093896556852c521a (diff)
downloadjenkins.debian.net-8e3b14d2d0d8ce074dc941b0246feaaf00e67edf.tar.xz
be more verbose
-rw-r--r--README2
-rwxr-xr-xbin/common-functions.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/README b/README
index b86d7898..9d091074 100644
--- a/README
+++ b/README
@@ -138,7 +138,7 @@ mkdir workspace ; cd workspace # test-script should check if they are in a direc
/srv/jenkins/bin/cd_tester.sh 2 squeeze-test-debian-edu-standalone 20 http://ftp.skolelinux.org/cd-squeeze-test-amd64-i386-netinst/debian-edu-amd64-i386-NETINST-1.iso
----
-See the *fourth line* on *any* log to find out how to debug any job. Point this out at the end of any log.
+FIXME: explain how to how to debug any job. Point this out at the end of any log.
TODO: svn/git using test-scripts need to learn checkout out - currently this is always done by jenkins.
diff --git a/bin/common-functions.sh b/bin/common-functions.sh
index 7da3f7fb..30094264 100755
--- a/bin/common-functions.sh
+++ b/bin/common-functions.sh
@@ -4,7 +4,7 @@
# released under the GPLv=2
common_cleanup(){
- echo "Cleaned up $TTT, finished running $0"
+ echo "$(date) - $0 stopped running as $TTT, which will now be removed."
rm -f $TTT
}
@@ -23,7 +23,7 @@ if [ "${0:0:5}" != "/tmp/" ] ; then
# (Running shell scripts fail weirdly when overwritten when running,
# this hack makes it possible to overwrite long running scripts
# anytime...)
- echo "Start running \"$0\" as \"$TTT\" with arguments \"$@\""
+ echo "$(date) - start running \"$0\" as \"$TTT\" using \"$@\" as arguments."
$TTT "$@"
exit $?
# cleanup is done automatically via trap