summaryrefslogtreecommitdiffstats
path: root/bin/jenkins_node_wrapper.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-09-09 15:35:55 +0200
committerHolger Levsen <holger@layer-acht.org>2015-09-09 15:35:55 +0200
commitd59690bcecfdf97111b91b4fad8017b2b2efcf16 (patch)
tree447eea143d0911f6a2edde1417925901585528ea /bin/jenkins_node_wrapper.sh
parent4c53f625b65425d9ad4d9e27addf8e79e0090716 (diff)
downloadjenkins.debian.net-d59690bcecfdf97111b91b4fad8017b2b2efcf16.tar.xz
reproducible: add new job, nodes_info, to collect environment variables from build nodes
Diffstat (limited to 'bin/jenkins_node_wrapper.sh')
-rwxr-xr-xbin/jenkins_node_wrapper.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/jenkins_node_wrapper.sh b/bin/jenkins_node_wrapper.sh
index cf2dd3b4..054ea2a3 100755
--- a/bin/jenkins_node_wrapper.sh
+++ b/bin/jenkins_node_wrapper.sh
@@ -56,8 +56,6 @@ fi
set "dummy" ${SSH_ORIGINAL_COMMAND}
shift
-info "remote_host called with $*"
-
allowed_cmds=()
if [[ "$*" =~ /bin/nc\ localhost\ 4949 ]] ; then
@@ -67,6 +65,8 @@ elif [[ "$*" =~ rebootstrap_.* ]] ; then
REBOOTSTRAPSH="/srv/jenkins/bin/rebootstrap.sh $@"
export LC_ALL=C
exec $REBOOTSTRAPSH; croak "Exec failed";
+elif [ "$1" = "/srv/jenkins/bin/reproducible_info" ] ; then
+ exec /srv/jenkins/bin/reproducible_info.sh "$2" ; 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";
elif [[ "$*" =~ rsync\ --server\ --sender\ .*\ .\ /srv/reproducible-results/tmp.* ]] ; then