Skip to content
Permalink
Browse files

Ensure that the ansible playbooks directory is reset / clean and just…

… pull from the master branch.
  • Loading branch information
Mason Packard
Mason Packard committed Sep 23, 2016
1 parent 295fd5b commit f32a9a3e2db6b2846a122f8ea1b533a9af77932e
Showing with 2 additions and 1 deletion.
  1. +2 −1 Jenkinsfile
@@ -44,10 +44,11 @@ def performBuild(String project){

stage 'Acquire ansible-playbooks'

sh 'rm -rf ansible-playbooks'
sh 'mkdir -p ansible-playbooks'
dir('ansible-playbooks'){
git([ url: "https://github.internet2.edu/docker/ansible-playbooks.git",
branch: "${project}-production", credentialsId: "jenkins-github-access-token" ])
branch: "master", credentialsId: "jenkins-github-access-token" ])
}

stage 'Validate'

0 comments on commit f32a9a3

Please sign in to comment.
You can’t perform that action at this time.