Skip to content

Commit

Permalink
Ensure directory structure.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mason Packard committed Aug 19, 2016
1 parent 60aa59e commit 0ebd9f7
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@ node('packer') {

stage 'Acquire ansible-playbooks'

git([ url: "https://github.internet2.edu/docker/ansible-playbooks.git",
credentialsId: "jenkins-github-access-token" ])
sh 'mkdir -p ansible-playbooks'
dir('ansible-plyabooks'){
git([ url: "https://github.internet2.edu/docker/ansible-playbooks.git",
credentialsId: "jenkins-github-access-token" ])
}

sh 'pwd'
sh 'ls'
Expand All @@ -14,12 +17,16 @@ node('packer') {

// Get the packer-centos-7 repo

checkout scm

stage 'Validate'
sh 'mkdir -p packer-centos-7'
dir('packer-centos-7'){
checkout scm
}

sh 'pwd'
sh 'ls'

stage 'Validate'

sh '/usr/local/bin/packer validate ./shibboleth-appliance-vbox.json'

}

0 comments on commit 0ebd9f7

Please sign in to comment.