@@ -21,6 +21,35 @@ pipeline {
21
21
22
22
stage(' Build' ) {
23
23
parallel {
24
+ stage(' Ubuntu Bionic' ) {
25
+ agent {
26
+ dockerfile {
27
+ filename ' Dockefile.ubuntu-bionic'
28
+ dir ' ci/jenkins'
29
+ label ' master'
30
+ }
31
+ }
32
+
33
+ steps {
34
+ echo " Building on ubuntu-bionic-AMD64 in ${ WORKSPACE} "
35
+ checkout scm
36
+ sh ' pwd; ls -la'
37
+ sh ' rm -rf build'
38
+ sh ' mkdir build'
39
+ sh ' cd build && cmake -DCMAKE_BUILD_TYPE=Release .. && make'
40
+
41
+ echo ' Getting ready to run tests'
42
+ script {
43
+ try {
44
+ sh ' cd build && ctest --no-compress-output -T Test'
45
+ } catch (exc) {
46
+ echo ' Testing failed'
47
+ currentBuild. result = ' UNSTABLE'
48
+ }
49
+ }
50
+ }
51
+ }
52
+ //
24
53
// stage('Ubuntu Xenial') {
25
54
// agent {
26
55
// dockerfile {
@@ -49,7 +78,7 @@ pipeline {
49
78
// }
50
79
// }
51
80
// }
52
- //
81
+ //
53
82
// stage('Debian Stretch') {
54
83
// agent {
55
84
// dockerfile {
@@ -136,36 +165,36 @@ pipeline {
136
165
// }
137
166
// }
138
167
// }
139
-
140
- stage(' Centos7' ) {
141
- agent {
142
- dockerfile {
143
- filename ' Dockerfile.centos7'
144
- dir ' ci/jenkins'
145
- label ' master'
146
- }
147
- }
148
-
149
- steps {
150
- echo " Building on Centos7 in ${ WORKSPACE} "
151
- checkout scm
152
- sh ' pwd; ls -la'
153
- sh ' rm -rf build'
154
- sh ' mkdir build'
155
- sh ' cd build && source scl_source enable devtoolset-7 && cmake -DCMAKE_BUILD_TYPE=Release -DBOOST_ROOT=/opt/boost .. && make'
156
-
157
- echo ' Getting ready to run tests'
158
- script {
159
- try {
160
- sh ' cd build && ctest --no-compress-output -T Test'
161
- } catch (exc) {
162
- echo ' Testing failed'
163
- currentBuild. result = ' UNSTABLE'
164
- }
165
- }
166
- }
167
- }
168
-
168
+ //
169
+ // stage('Centos7') {
170
+ // agent {
171
+ // dockerfile {
172
+ // filename 'Dockerfile.centos7'
173
+ // dir 'ci/jenkins'
174
+ // label 'master'
175
+ // }
176
+ // }
177
+ //
178
+ // steps {
179
+ // echo "Building on Centos7 in ${WORKSPACE}"
180
+ // checkout scm
181
+ // sh 'pwd; ls -la'
182
+ // sh 'rm -rf build'
183
+ // sh 'mkdir build'
184
+ // sh 'cd build && source scl_source enable devtoolset-7 && cmake -DCMAKE_BUILD_TYPE=Release -DBOOST_ROOT=/opt/boost .. && make'
185
+ //
186
+ // echo 'Getting ready to run tests'
187
+ // script {
188
+ // try {
189
+ // sh 'cd build && ctest --no-compress-output -T Test'
190
+ // } catch (exc) {
191
+ // echo 'Testing failed'
192
+ // currentBuild.result = 'UNSTABLE'
193
+ // }
194
+ // }
195
+ // }
196
+ // }
197
+ //
169
198
// stage('macOS') {
170
199
// agent {label 'macos'}
171
200
//
0 commit comments