From f32a9a3e2db6b2846a122f8ea1b533a9af77932e Mon Sep 17 00:00:00 2001 From: Mason Packard Date: Fri, 23 Sep 2016 10:48:23 -0400 Subject: [PATCH] Ensure that the ansible playbooks directory is reset / clean and just pull from the master branch. --- Jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 3725dc4..918cfd8 100644 --- a/Jenkinsfile +++ b/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'