Skip to content
Permalink
Newer
Older
100644 44 lines (32 sloc) 911 Bytes
3
stage 'Checkout'
4
5
checkout scm
6
7
stage 'Acquire util'
8
9
sh 'mkdir -p bin'
10
dir('bin'){
11
git([ url: "https://github.internet2.edu/docker/util.git",
12
credentialsId: "jenkins-github-access-token" ])
13
sh 'ls'
14
sh 'mv bin/* .'
15
}
17
stage 'Acquire conftree'
18
19
sh 'mkdir -p root'
20
dir('root'){
21
git([ url: "https://github.internet2.edu/docker/shib-idp-conftree.git",
22
branch: "test", credentialsId: "jenkins-github-access-token" ])
23
}
24
25
stage 'Tests'
26
27
sh 'bin/test.sh'
28
29
}
30
31
def maintainer() {
32
def matcher = readFile('common.bash') =~ 'maintainer="(.+)"'
33
matcher ? matcher[0][1] : 'tier'
34
}
35
36
def imagename() {
37
def matcher = readFile('common.bash') =~ 'imagename="(.+)"'
38
matcher ? matcher[0][1] : null
39
}
41
def version() {
42
def matcher = readFile('common.bash') =~ 'version="(.+)"'
43
matcher ? matcher[0][1] : null
You can’t perform that action at this time.