forked from rosineygp/mkdkr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Jenkinsfile
115 lines (111 loc) · 2.13 KB
/
Jenkinsfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
pipeline {
agent {
node {
label 'any'
}
}
stages("mkdkr_exporter") {
stage("lint") {
parallel {
stage("lint commit") {
steps {
sh "make lint.commit"
}
}
stage("lint shellcheck") {
steps {
sh "make lint.shellcheck"
}
}
stage("lint hadolint") {
steps {
sh "make lint.hadolint"
}
}
}
}
stage("test unit") {
steps {
sh "make test.unit"
}
}
stage("bash") {
parallel {
stage("bash v5-0") {
steps {
sh "make bash.v5-0"
}
}
stage("bash v4-4") {
steps {
sh "make bash.v4-4"
}
}
stage("bash v4-3") {
steps {
sh "make bash.v4-3"
}
}
stage("bash v4-2") {
steps {
sh "make bash.v4-2"
}
}
stage("bash v4-1") {
steps {
sh "make bash.v4-1"
}
}
stage("bash v4-0") {
steps {
sh "make bash.v4-0"
}
}
}
}
stage("examples") {
parallel {
stage("examples simple") {
steps {
sh "make examples.simple"
}
}
stage("examples service") {
steps {
sh "make examples.service"
}
}
stage("examples dind") {
steps {
sh "make examples.dind"
}
}
stage("examples escapes") {
steps {
sh "make examples.escapes"
}
}
stage("examples stdout") {
steps {
sh "make examples.stdout"
}
}
stage("examples shell") {
steps {
sh "make examples.shell"
}
}
stage("examples retry") {
steps {
sh "make examples.retry"
}
}
stage("examples pipeline") {
steps {
sh "make examples.pipeline"
}
}
}
}
}
}