From 445d217ac0c31a766b1e669f1fcce5160d32df58 Mon Sep 17 00:00:00 2001 From: Mason Packard Date: Fri, 19 Aug 2016 16:37:05 -0400 Subject: [PATCH] Debug, change dir structure. --- Jenkinsfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index d8e2999..56d8d46 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -7,13 +7,16 @@ node('packer') { stage 'Acquire ansible-playbooks' - git([ url: "https://github.internet2.edu/docker/ansible-playbooks.git", + sh 'mkdir -p ansible-playbooks' + dir('ansible-playbooks'){ + 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' - sh 'ls' - sh 'pwd' sh '/usr/local/bin/packer validate shibboleth-appliance-vbox.json' }