diff options
author | Holger Levsen <holger@layer-acht.org> | 2016-05-28 16:43:32 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-05-28 16:43:32 +0200 |
commit | d4eb0bb8a569998b88025dbea86dea04dd84a933 (patch) | |
tree | 3c14db9489a97bf6514b8bcd730a4c1741a3d037 | |
parent | d1d2a991eea1b7884c25362118be6243c8b618a4 (diff) | |
download | jenkins.debian.net-d4eb0bb8a569998b88025dbea86dea04dd84a933.tar.xz |
lvc: also pass params
-rwxr-xr-x | bin/jenkins_master_wrapper.sh | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/bin/jenkins_master_wrapper.sh b/bin/jenkins_master_wrapper.sh index cd7d08e4..fe6e0f5f 100755 --- a/bin/jenkins_master_wrapper.sh +++ b/bin/jenkins_master_wrapper.sh @@ -15,12 +15,14 @@ PORT=0 get_node_ssh_port $NODE_NAME # by default we just use the job name as param -PARAMS="$JOB_NAME" - -# though this could be used for other jobs as well... -if [[ "$JOB_NAME" =~ rebootstrap_.* ]] ; then - PARAMS="$PARAMS $@" -fi +case $JOB_NAME in + rebootstrap_.*) PARAMS="$JOB_NAME $@" + ;; + lvc_.*) PARAMS="$JOB_NAME $@" + ;; + *) PARAMS="$JOB_NAME" + ;; +esac # pseudo job used to cleanup nodes if [ "$JOB_NAME" = "cleanup_nodes" ] ; then |