diff --git a/Jenkinsfile b/Jenkinsfile index 56d8d46..bdb7e8a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -7,13 +7,9 @@ node('packer') { stage 'Acquire ansible-playbooks' - sh 'mkdir -p ansible-playbooks' - dir('ansible-playbooks'){ - git([ url: "https://github.internet2.edu/docker/ansible-playbooks.git", + git([ url: "https://github.internet2.edu/docker/ansible-playbooks.git", credentialsId: "jenkins-github-access-token" ]) - } - sh 'ls' - sh 'mv ansible-playbooks/* ./ansible-playbooks' + stage 'Validate'