diff options
author | Holger Levsen <holger@layer-acht.org> | 2017-06-02 12:47:58 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2017-06-02 12:47:58 +0200 |
commit | 6ebcee5bee6e461075b73ca2c639b425208334e6 (patch) | |
tree | cf33c737df25109a360094f81c273adebd23219c /init_node | |
parent | 5a0b721c51ddd065e50ae3c573677c37d91c196e (diff) | |
download | jenkins.debian.net-6ebcee5bee6e461075b73ca2c639b425208334e6.tar.xz |
reproducible Debian: fix to make it work with more restricted sudo
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'init_node')
-rwxr-xr-x | init_node | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -34,7 +34,7 @@ sudo usermod -G jenkins jenkins-adm sudo chown jenkins-adm.jenkins-adm /home/jenkins-adm cd ~jenkins-adm [ -x /usr/bin/git ] || sudo apt-get install -y git -sudo -u jenkins-adm git clone $GIT_REPO +sudo su jenkins-adm -l -c "git clone $GIT_REPO" cd jenkins.debian.net sudo mkdir -p /var/log/jenkins/ set +x |