From 31a6c9bcf383e6047d34b55f2412676f71485d81 Mon Sep 17 00:00:00 2001 From: Mason Packard Date: Fri, 19 Aug 2016 16:16:03 -0400 Subject: [PATCH] Working on pipeline. --- Jenkinsfile | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) 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' }