Skip to content
This repository has been archived by the owner on Jul 17, 2018. It is now read-only.

Commit

Permalink
Merge pull request #219 from FINkit/dazjones-patch-1
Browse files Browse the repository at this point in the history
Update pre-start.erb
  • Loading branch information
dazjones committed May 15, 2018
2 parents 1c9334f + 2415c9f commit 417608d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion jobs/jenkins-master/templates/bin/pre-start.erb
Expand Up @@ -22,7 +22,9 @@ if [[ $(ls /var/vcap/jobs/jenkins-master/init.groovy.d/*.groovy) ]]; then
fi

if [ ${JENKINS_USE_GITHUB_AUTH} == "true" ]; then
rm /var/vcap/store/jenkins-master/init.d/configure-access.groovy
if [ -f /var/vcap/store/jenkins-master/init.d/configure-access.groovy ]; then
rm /var/vcap/store/jenkins-master/init.d/configure-access.groovy
fi
cp /var/vcap/jobs/jenkins-master/init.groovy.d/configure-github-access.groovy /var/vcap/store/jenkins-master/init.groovy.d/configure-github-access.groovy
fi

Expand Down

0 comments on commit 417608d

Please sign in to comment.