Skip to content
Permalink
Newer
Older
100644 20 lines (13 sloc) 423 Bytes
Mason Packard
Aug 19, 2016
1
#!groovy
2
3
node('packer') {
4
stage 'Checkout'
5
6
checkout scm
7
8
stage 'Acquire ansible-playbooks'
9
10
sh 'mkdir -p ansible-playbooks'
11
dir('ansible-playbooks'){
Mason Packard
Aug 19, 2016
12
git([ url: "https://github.internet2.edu/docker/ansible-playbooks.git",
13
branch: "shibboleth-production", credentialsId: "jenkins-github-access-token" ])
14
}
Mason Packard
Aug 19, 2016
15
16
stage 'Validate'
Mason Packard
Aug 19, 2016
17
18
sh '/usr/local/bin/packer validate shibboleth-appliance.json'
Mason Packard
Aug 19, 2016
19
20
}
You can’t perform that action at this time.