[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible_build.sh: Add usage information
Mattia Rizzolo (@mattia)
gitlab at salsa.debian.org
Mon Oct 18 16:34:59 BST 2021
Mattia Rizzolo pushed to branch master at Debian QA / jenkins.debian.net
Commits:
54c427b5 by Vasyl Gello at 2021-10-18T17:34:45+02:00
reproducible_build.sh: Add usage information
Signed-off-by: Vasyl Gello <vasek.gello at gmail.com>
Signed-off-by: Mattia Rizzolo <mattia at debian.org>
- - - - -
1 changed file:
- bin/reproducible_build.sh
Changes:
=====================================
bin/reproducible_build.sh
=====================================
@@ -977,7 +977,26 @@ JOB="${JOB_NAME#reproducible_builder_}/${BUILD_ID}"
# determine mode
#
if [ "$1" = "" ] ; then
- echo "Error, needs at least one parameter."
+ echo "ERROR: Needs at least one parameter."
+ echo ""
+ echo "Usage:"
+ echo ""
+ echo "Local build mode:"
+ echo ""
+ echo "reproducible-build.sh \\"
+ echo " <BUILD-MODE> \\"
+ echo " <SOURCE-PACKAGE-NAME> \\"
+ echo " <OS-SUITE> \\"
+ echo " <TMPDIR> \\"
+ echo " <SOURCE_PACKAGE_VERSION>"
+ echo ""
+ echo "Master mode:"
+ echo ""
+ echo "reproducible-build.sh \\"
+ echo " <DEBIAN-NODE-1> \\"
+ echo " <DEBIAN-NODE-2>"
+ echo ""
+
exit 1
elif [ "$1" = "1" ] || [ "$1" = "2" ] ; then
MODE="$1"
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/54c427b522160bd94cf215dc4f8e20c28504d9fc
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/54c427b522160bd94cf215dc4f8e20c28504d9fc
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/20211018/d9763f38/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list