[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] create kgb's client-status dir if it does not exist yet
    Holger Levsen 
    gitlab at salsa.debian.org
       
    Thu Jan 24 12:59:16 GMT 2019
    
    
  
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
6b93ad9a by Holger Levsen at 2019-01-24T12:59:00Z
create kgb's client-status dir if it does not exist yet
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- update_jdn.sh
Changes:
=====================================
update_jdn.sh
=====================================
@@ -713,6 +713,11 @@ if [ "$HOSTNAME" = "jenkins" ] || [ "$HOSTNAME" = "osuosl-build168-amd64" ] || [
 		echo "/srv/jenkins/kgb should be mode 755 and owned by jenkins-adm:root."
 		echo "/srv/jenkins/kgb/client-status should be mode 755 and owned by jenkins:jenkins."
 	fi
+	KGB_STATUS="/srv/jenkins/kgb/client-status"
+	if [ ! -d "$KGB_STATUS" ] ; then
+		sudo mkdir $KGB_STATUS
+		sudo chown jenkins-adm:jenkins $KGB_STATUS
+	fi
 fi
 
 #
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/6b93ad9a8d268cadcf50e8b8b35f8a3dd7892a23
-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/6b93ad9a8d268cadcf50e8b8b35f8a3dd7892a23
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20190124/77ddc604/attachment.html>
    
    
More information about the Qa-jenkins-scm
mailing list