summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-06-20 21:09:25 +0200
committerHolger Levsen <holger@layer-acht.org>2016-06-20 21:09:25 +0200
commitf17066d32c0f0cdd49555881564bbc17049e3c43 (patch)
tree287df49a8b24eac5fa2ea93f2de56b74fe427e73
parent2ad58121ff5367f6c08e4907a8cec220099f76db (diff)
downloadjenkins.debian.net-f17066d32c0f0cdd49555881564bbc17049e3c43.tar.xz
d-i-build: allow mkdir in /srv/udebs via ssh
-rwxr-xr-xbin/jenkins_node_wrapper.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/jenkins_node_wrapper.sh b/bin/jenkins_node_wrapper.sh
index 3cac5e63..5eb9e8d5 100755
--- a/bin/jenkins_node_wrapper.sh
+++ b/bin/jenkins_node_wrapper.sh
@@ -89,6 +89,8 @@ elif [[ "$*" =~ rsync\ --server\ --sender\ .*\ .\ /var/lib/jenkins/userContent/r
exec rsync --server --sender "$4" . "$6" ; croak "Exec failed";
elif [[ "$*" =~ rsync\ --server\ --sender\ .*\ .\ /srv/udebs/.*/ ]] ; then
exec rsync --server --sender "$4" . "$6" ; croak "Exec failed";
+elif [[ "$*" =~ mkdir -p /srv/udebs/.* ]] ; then
+ exec mkdir -p "$3" ; croak "Exec failed";
elif [[ "$*" =~ rm\ -r\ /srv/reproducible-results/tmp.* ]] ; then
exec rm -r "$3" ; croak "Exec failed";
elif [[ "$*" =~ rm\ -r\ /srv/reproducible-results/rbuild.* ]] ; then