[Qa-jenkins-scm] [jenkins.debian.net] 01/01: use sudo so we can write the log

Holger Levsen holger at layer-acht.org
Fri Apr 21 14:46:14 UTC 2017


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 41963402724a46881f17d953bcfecf67ca748539
Author: Holger Levsen <holger at layer-acht.org>
Date:   Fri Apr 21 16:45:57 2017 +0200

    use sudo so we can write the log
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 deploy_jdn | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/deploy_jdn b/deploy_jdn
index e81f52c..d785070 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list