Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Ensure that the ansible playbooks directory is reset / clean and just…
… pull from the master branch.
Mason Packard committed Sep 23, 2016
1 parent 295fd5b commit f32a9a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion 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.