projects
/
arvados-dev.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make sure to run the arvados-api-server-upgrade.sh and
[arvados-dev.git]
/
jenkins
/
run-build-packages-all-targets.sh
diff --git
a/jenkins/run-build-packages-all-targets.sh
b/jenkins/run-build-packages-all-targets.sh
index ddf87c18e483075d1f2497ada7685d71bbbee77e..8c889a0f379a4ea4c90acf7143457c9a581b3d2f 100755
(executable)
--- a/
jenkins/run-build-packages-all-targets.sh
+++ b/
jenkins/run-build-packages-all-targets.sh
@@
-10,6
+10,8
@@
Options:
--command
Build command to execute (default: use built-in Docker image command)
--command
Build command to execute (default: use built-in Docker image command)
+--debug
+ Output debug information (default: false)
WORKSPACE=path Path to the Arvados source tree to build packages from
WORKSPACE=path Path to the Arvados source tree to build packages from
@@
-34,13
+36,14
@@
fi
set -e
PARSEDOPTS=$(getopt --name "$0" --longoptions \
set -e
PARSEDOPTS=$(getopt --name "$0" --longoptions \
- help,command: \
+ help,
debug,
command: \
-- "" "$@")
if [ $? -ne 0 ]; then
exit 1
fi
COMMAND=
-- "" "$@")
if [ $? -ne 0 ]; then
exit 1
fi
COMMAND=
+DEBUG=
eval set -- "$PARSEDOPTS"
while [ $# -gt 0 ]; do
eval set -- "$PARSEDOPTS"
while [ $# -gt 0 ]; do
@@
-50,6
+53,9
@@
while [ $# -gt 0 ]; do
echo >&2
exit 1
;;
echo >&2
exit 1
;;
+ --debug)
+ DEBUG=" --debug"
+ ;;
--command)
COMMAND="$2"; shift
;;
--command)
COMMAND="$2"; shift
;;
@@
-64,7
+70,7
@@
while [ $# -gt 0 ]; do
done
if [[ "$COMMAND" != "" ]]; then
done
if [[ "$COMMAND" != "" ]]; then
- COMMAND="/usr/local/rvm/bin/rvm-exec default bash /jenkins/$COMMAND"
+ COMMAND="/usr/local/rvm/bin/rvm-exec default bash /jenkins/$COMMAND
$DEBUG
"
fi
FINAL_EXITCODE=0
fi
FINAL_EXITCODE=0