diff --git a/Jenkinsfile b/Jenkinsfile index f08bf3f..18f1219 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -7,13 +7,22 @@ node('packer') { stage 'Acquire ansible-playbooks' + sh 'mkdir -p ansible-playbooks' + dir('ansible-playbooks'){ git([ url: "https://github.internet2.edu/docker/ansible-playbooks.git", credentialsId: "jenkins-github-access-token" ]) + } + stage 'Acquire packer-centos-7' - stage 'Validate' + sh 'mkdir -p packer-centos-7' + dir('packer-centos-7'){ + git([ url: "https://github.internet2.edu/docker/packer-centos-7.git", + credentialsId: "jenkins-github-access-token" ]) + } - sh '/usr/local/bin/packer validate shibboleth-appliance-vbox.json' + stage 'Validate' + sh '/usr/local/bin/packer validate packer-centos-7/shibboleth-appliance-vbox.json' }