From e37cac7be40470bf06e62072e7ca5bd449c00aa0 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 16 Sep 2015 12:06:58 +0200 Subject: fixup 6657817d: reproducible: allow by job name... --- bin/jenkins_node_wrapper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/jenkins_node_wrapper.sh b/bin/jenkins_node_wrapper.sh index 37088309..3c54d2dc 100755 --- a/bin/jenkins_node_wrapper.sh +++ b/bin/jenkins_node_wrapper.sh @@ -67,7 +67,7 @@ elif [[ "$*" =~ rebootstrap_.* ]] ; then REBOOTSTRAPSH="/srv/jenkins/bin/rebootstrap.sh $@" export LC_ALL=C exec $REBOOTSTRAPSH; croak "Exec failed"; -elif [ "$0" = "reproducible_nodes_info" ] ; then +elif [ "$*" = "reproducible_nodes_info" ] ; then exec /srv/jenkins/bin/reproducible_info.sh ; croak "Exec failed"; elif [ "$1" = "/srv/jenkins/bin/reproducible_build.sh" ] && ( [ "$2" = "1" ] || [ "$2" = "2" ] ) ; then exec /srv/jenkins/bin/reproducible_build.sh "$2" "$3" "$4" "$5" ; croak "Exec failed"; -- cgit v1.2.3-54-g00ecf