[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] djm: show report if called without any options
Holger Levsen (@holger)
gitlab at salsa.debian.org
Mon May 15 15:01:17 BST 2023
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
fee80317 by Holger Levsen at 2023-05-15T16:00:51+02:00
djm: show report if called without any options
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/djm
Changes:
=====================================
bin/djm
=====================================
@@ -14,7 +14,6 @@ set -o pipefail # see eg http://petereisentraut.blogspot.com/2010/11/pipefail.h
#
# define environment and global variables
#
-MODE=djm
DRY_RUN=false
VERBOSE=false
FETCH=false
@@ -91,6 +90,14 @@ while true; do
;;
esac
done
+# show report if not called with any options
+if [ -z "$1" ] ; then
+ MODE=report
+else
+ MODE=djm
+fi
+
+
show_help(){
echo
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/fee8031749165dd70c22a21766b4108d9f8c495e
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/fee8031749165dd70c22a21766b4108d9f8c495e
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/20230515/476286b2/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list