diff --git a/Jenkinsfile b/Jenkinsfile index 7dab0cd..be3b31e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,26 +1,17 @@ #!groovy node('packer') { + stage 'Checkout' + + checkout scm stage 'Acquire ansible-playbooks' git([ url: "https://github.internet2.edu/docker/ansible-playbooks.git", credentialsId: "jenkins-github-access-token" ]) - sh 'pwd' - sh 'ls' - - stage 'Checkout' - - // Get the packer-centos-7 repo - - checkout scm - - sh 'pwd' - sh 'ls' - stage 'Validate' - sh '/usr/local/bin/packer validate ./shibboleth-appliance-vbox.json' + sh '/usr/local/bin/packer validate ./packer-centos-7/shibboleth-appliance-vbox.json' }