summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2017-04-21 16:45:57 +0200
committerHolger Levsen <holger@layer-acht.org>2017-04-21 16:45:57 +0200
commit41963402724a46881f17d953bcfecf67ca748539 (patch)
tree07691a503e01d5966667f5167d5fceda91cd1fa3
parentb433028c506c534b430a66d06fa8239b41e601d0 (diff)
downloadjenkins.debian.net-41963402724a46881f17d953bcfecf67ca748539.tar.xz
use sudo so we can write the log
Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rwxr-xr-xdeploy_jdn2
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy_jdn b/deploy_jdn
index e81f52c6..d785070d 100755
--- a/deploy_jdn
+++ b/deploy_jdn
@@ -94,7 +94,7 @@ else
sudo -u jenkins-adm git pull $GIT_REPO
fi
-./update_jdn.sh 2>&1 | tee -a /var/log/jenkins/update_jdn.log
+./update_jdn.sh 2>&1 | sudo tee -a /var/log/jenkins/update_jdn.log
EOF
reset_clock=true
if [ "$1" = "all" ] ; then