Skip to content

Commit

Permalink
Working on pipeline.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mason Packard committed Aug 19, 2016
1 parent c78aa85 commit 31a6c9b
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -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'

}

0 comments on commit 31a6c9b

Please sign in to comment.