[Qa-jenkins-scm] [jenkins.debian.net] 01/01: update_jdn: drop the full patch from the deploy_jdn call. jenkins-adm can't access /root/
Holger Levsen
holger at moszumanska.debian.org
Thu Apr 16 17:14:48 UTC 2015
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 9c0d630bb0a416465e701d509df25e6ed23fbb99
Author: Mattia Rizzolo <mattia at mapreri.org>
Date: Thu Apr 16 19:05:07 2015 +0200
update_jdn: drop the full patch from the deploy_jdn call. jenkins-adm can't access /root/
---
update_jdn.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/update_jdn.sh b/update_jdn.sh
index 147b446..6f12d86 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -306,7 +306,7 @@ cd $BASEDIR
KGB_SECRETS="/srv/jenkins/kgb/secrets.yml"
if [ -f "$KGB_SECRETS" ] && [ $(stat -c "%a:%U:%G" "$KGB_SECRETS") = "640:jenkins-adm:jenkins-adm" ] ; then
# to assure the files are owned by the right user/team
- sudo -u jenkins-adm "$BASEDIR/deploy_kgb.py"
+ sudo -u jenkins-adm "./deploy_kgb.py"
else
echo "Warning: $KGB_SECRETS either does not exist or has bad permissions. Please fix. KGB configs not generated"
echo "We expect the secrets file to be mode 640 and owned by jenkins-adm:jenkins-adm."
--
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