summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-04-16 19:05:07 +0200
committerHolger Levsen <holger@layer-acht.org>2015-04-16 19:14:43 +0200
commit9c0d630bb0a416465e701d509df25e6ed23fbb99 (patch)
tree1b7b7903fe8a3b33b9463abfefecea9ead38c7f1
parent75b14180ab9b643f45a0955ac0d3f99beefb07d8 (diff)
downloadjenkins.debian.net-9c0d630bb0a416465e701d509df25e6ed23fbb99.tar.xz
update_jdn: drop the full patch from the deploy_jdn call. jenkins-adm can't access /root/
-rwxr-xr-xupdate_jdn.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/update_jdn.sh b/update_jdn.sh
index 147b4463..6f12d867 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."