@@ -3,7 +3,8 @@ pipeline {
3
3
stages {
4
4
stage(' Build' ) {
5
5
parallel {
6
- // NOTE: this stage is special because it copies the test results out of the container
6
+ // begin gcc builds
7
+ // NOTE: this next stage is special because it copies the test results out of the container
7
8
stage(' Ubuntu Xenial/gcc-5.4.0/llvm-3.7.1 (Debug/Test)' ) {
8
9
agent {
9
10
docker {
@@ -70,6 +71,7 @@ pipeline {
70
71
sh ' cd build && cmake -DCMAKE_BUILD_TYPE=Debug -DCOVERALLS=False .. && make -j4'
71
72
}
72
73
}
74
+
73
75
stage(' Fedora 26/gcc-7.1.1/llvm-4.0.1 (Release)' ) {
74
76
agent { docker { image ' fedora:26' } }
75
77
steps {
@@ -109,6 +111,7 @@ pipeline {
109
111
sh ' cd build && cmake3 -DCMAKE_BUILD_TYPE=Debug -DCOVERALLS=False .. && make -j4'
110
112
}
111
113
}
114
+
112
115
stage(' CentOS 7/gcc-4.8.5/llvm-3.9.1 (Release)' ) {
113
116
agent { docker { image ' centos:7' } }
114
117
steps {
@@ -118,86 +121,88 @@ pipeline {
118
121
sh ' cd build && cmake3 -DCMAKE_BUILD_TYPE=Release -DCOVERALLS=False .. && make -j4'
119
122
}
120
123
}
124
+ // end gcc builds
121
125
122
- stage(' Ubuntu Xenial/clang-3.7.1/llvm-3.7.1 (Debug)' ) {
123
- agent { docker { image ' ubuntu:xenial' } }
124
- steps {
125
- sh ' sudo /bin/bash -c "source ./peloton/script/installation/packages.sh"'
126
- sh ' python ./script/validators/source_validator.py'
127
- sh ' mkdir build'
128
- sh ' cd build && CC=clang-3.7 CXX=clang++-3.7 cmake -DCMAKE_BUILD_TYPE=Debug -DCOVERALLS=False .. && make -j4 && make install'
129
- }
130
- }
126
+ // begin clang builds
127
+ // stage('Ubuntu Xenial/clang-3.7.1/llvm-3.7.1 (Debug)') {
128
+ // agent { docker { image 'ubuntu:xenial' } }
129
+ // steps {
130
+ // sh 'sudo /bin/bash -c "source ./peloton/script/installation/packages.sh"'
131
+ // sh 'python ./script/validators/source_validator.py'
132
+ // sh 'mkdir build'
133
+ // sh 'cd build && CC=clang-3.7 CXX=clang++-3.7 cmake -DCMAKE_BUILD_TYPE=Debug -DCOVERALLS=False .. && make -j4 && make install'
134
+ // }
135
+ // }
131
136
132
- stage(' Ubuntu Xenial/clang-3.7.1/llvm-3.7.1 (Release)' ) {
133
- agent { docker { image ' ubuntu:xenial' } }
134
- steps {
135
- sh ' sudo /bin/bash -c "source ./peloton/script/installation/packages.sh"'
136
- sh ' python ./script/validators/source_validator.py'
137
- sh ' mkdir build'
138
- sh ' cd build && CC=clang-3.7 CXX=clang++-3.7 cmake -DCMAKE_BUILD_TYPE=Release -DCOVERALLS=False .. && make -j4 && make install'
139
- }
140
- }
137
+ // stage('Ubuntu Xenial/clang-3.7.1/llvm-3.7.1 (Release)') {
138
+ // agent { docker { image 'ubuntu:xenial' } }
139
+ // steps {
140
+ // sh 'sudo /bin/bash -c "source ./peloton/script/installation/packages.sh"'
141
+ // sh 'python ./script/validators/source_validator.py'
142
+ // sh 'mkdir build'
143
+ // sh 'cd build && CC=clang-3.7 CXX=clang++-3.7 cmake -DCMAKE_BUILD_TYPE=Release -DCOVERALLS=False .. && make -j4 && make install'
144
+ // }
145
+ // }
141
146
142
- stage(' Ubuntu Trusty/clang-3.7.1/llvm-3.7.1 (Debug)' ) {
143
- agent { docker { image ' ubuntu:trusty' } }
144
- steps {
145
- sh ' sudo /bin/bash -c "source ./script/installation/packages.sh"'
146
- sh ' python ./script/validators/source_validator.py'
147
- sh ' mkdir build'
148
- sh ' cd build && CC=clang-3.7 CXX=clang++-3.7 cmake -DCMAKE_BUILD_TYPE=Debug -DCOVERALLS=False .. && make -j4'
149
- }
150
- }
147
+ // stage('Ubuntu Trusty/clang-3.7.1/llvm-3.7.1 (Debug)') {
148
+ // agent { docker { image 'ubuntu:trusty' } }
149
+ // steps {
150
+ // sh 'sudo /bin/bash -c "source ./script/installation/packages.sh"'
151
+ // sh 'python ./script/validators/source_validator.py'
152
+ // sh 'mkdir build'
153
+ // sh 'cd build && CC=clang-3.7 CXX=clang++-3.7 cmake -DCMAKE_BUILD_TYPE=Debug -DCOVERALLS=False .. && make -j4'
154
+ // }
155
+ // }
151
156
152
- stage(' Ubuntu Trusty/clang-3.7.1/llvm-3.7.1 (Release)' ) {
153
- agent { docker { image ' ubuntu:trusty' } }
154
- steps {
155
- sh ' sudo /bin/bash -c "source ./script/installation/packages.sh"'
156
- sh ' python ./script/validators/source_validator.py'
157
- sh ' mkdir build'
158
- sh ' cd build && CC=clang-3.7 CXX=clang++-3.7 cmake -DCMAKE_BUILD_TYPE=Release -DCOVERALLS=False .. && make -j4'
159
- }
160
- }
157
+ // stage('Ubuntu Trusty/clang-3.7.1/llvm-3.7.1 (Release)') {
158
+ // agent { docker { image 'ubuntu:trusty' } }
159
+ // steps {
160
+ // sh 'sudo /bin/bash -c "source ./script/installation/packages.sh"'
161
+ // sh 'python ./script/validators/source_validator.py'
162
+ // sh 'mkdir build'
163
+ // sh 'cd build && CC=clang-3.7 CXX=clang++-3.7 cmake -DCMAKE_BUILD_TYPE=Release -DCOVERALLS=False .. && make -j4'
164
+ // }
165
+ // }
161
166
162
- stage(' Fedora 26/clang-4.0.1/llvm-4.0.1 (Debug)' ) {
163
- agent { docker { image ' fedora:26' } }
164
- steps {
165
- sh ' sudo /bin/bash -c "source ./script/installation/packages.sh"'
166
- sh ' python ./script/validators/source_validator.py'
167
- sh ' mkdir build'
168
- sh ' cd build && CC=clang CXX=clang++ cmake -DCMAKE_BUILD_TYPE=Debug -DCOVERALLS=False .. && make -j4'
169
- }
170
- }
167
+ // stage('Fedora 26/clang-4.0.1/llvm-4.0.1 (Debug)') {
168
+ // agent { docker { image 'fedora:26' } }
169
+ // steps {
170
+ // sh 'sudo /bin/bash -c "source ./script/installation/packages.sh"'
171
+ // sh 'python ./script/validators/source_validator.py'
172
+ // sh 'mkdir build'
173
+ // sh 'cd build && CC=clang CXX=clang++ cmake -DCMAKE_BUILD_TYPE=Debug -DCOVERALLS=False .. && make -j4'
174
+ // }
175
+ // }
171
176
172
- stage(' Fedora 26/clang-4.0.1/llvm-4.0.1 (Release)' ) {
173
- agent { docker { image ' fedora:26' } }
174
- steps {
175
- sh ' sudo /bin/bash -c "source ./script/installation/packages.sh"'
176
- sh ' python ./script/validators/source_validator.py'
177
- sh ' mkdir build'
178
- sh ' cd build && CC=clang CXX=clang++ cmake -DCMAKE_BUILD_TYPE=Release -DCOVERALLS=False .. && make -j4'
179
- }
180
- }
177
+ // stage('Fedora 26/clang-4.0.1/llvm-4.0.1 (Release)') {
178
+ // agent { docker { image 'fedora:26' } }
179
+ // steps {
180
+ // sh 'sudo /bin/bash -c "source ./script/installation/packages.sh"'
181
+ // sh 'python ./script/validators/source_validator.py'
182
+ // sh 'mkdir build'
183
+ // sh 'cd build && CC=clang CXX=clang++ cmake -DCMAKE_BUILD_TYPE=Release -DCOVERALLS=False .. && make -j4'
184
+ // }
185
+ // }
181
186
182
- stage(' Fedora 27/clang-4.0.1/llvm-4.0.1 (Debug)' ) {
183
- agent { docker { image ' fedora:27' } }
184
- steps {
185
- sh ' sudo /bin/bash -c "source ./script/installation/packages.sh"'
186
- sh ' python ./script/validators/source_validator.py'
187
- sh ' mkdir build'
188
- sh ' cd build && CC=clang CXX=clang++ cmake -DCMAKE_BUILD_TYPE=Debug -DCOVERALLS=False .. && make -j4'
189
- }
190
- }
187
+ // stage('Fedora 27/clang-4.0.1/llvm-4.0.1 (Debug)') {
188
+ // agent { docker { image 'fedora:27' } }
189
+ // steps {
190
+ // sh 'sudo /bin/bash -c "source ./script/installation/packages.sh"'
191
+ // sh 'python ./script/validators/source_validator.py'
192
+ // sh 'mkdir build'
193
+ // sh 'cd build && CC=clang CXX=clang++ cmake -DCMAKE_BUILD_TYPE=Debug -DCOVERALLS=False .. && make -j4'
194
+ // }
195
+ // }
191
196
192
- stage(' Fedora 27/clang-4.0.1/llvm-4.0.1 (Release)' ) {
193
- agent { docker { image ' fedora:27' } }
194
- steps {
195
- sh ' sudo /bin/bash -c "source ./script/installation/packages.sh"'
196
- sh ' python ./script/validators/source_validator.py'
197
- sh ' mkdir build'
198
- sh ' cd build && CC=clang CXX=clang++ cmake -DCMAKE_BUILD_TYPE=Release -DCOVERALLS=False .. && make -j4'
199
- }
200
- }
197
+ // stage('Fedora 27/clang-4.0.1/llvm-4.0.1 (Release)') {
198
+ // agent { docker { image 'fedora:27' } }
199
+ // steps {
200
+ // sh 'sudo /bin/bash -c "source ./script/installation/packages.sh"'
201
+ // sh 'python ./script/validators/source_validator.py'
202
+ // sh 'mkdir build'
203
+ // sh 'cd build && CC=clang CXX=clang++ cmake -DCMAKE_BUILD_TYPE=Release -DCOVERALLS=False .. && make -j4'
204
+ // }
205
+ // }
201
206
202
207
// Omit this configuration for now since the corresponding version of clang does not seem to be available on this platform
203
208
// stage('CentOS 7/clang-??/llvm-3.9.1') {
@@ -206,14 +211,15 @@ pipeline {
206
211
// sh 'lsb_release -a'
207
212
// }
208
213
// }
214
+ // end clang builds
209
215
}
210
216
}
211
217
}
212
218
213
219
// Process test results from the first build stage
214
220
post {
215
221
always {
216
- dir(" ${ WORKSPACE} /../builds/${ BUILD_ID} /results " ) {
222
+ dir(" ${ WORKSPACE} /../builds/${ BUILD_ID} " ) {
217
223
step([$class : ' XUnitBuilder' , testTimeMargin : ' 3000' , thresholdMode : 1 , thresholds : [[$class : ' FailedThreshold' , failureNewThreshold : ' ' , failureThreshold : ' ' , unstableNewThreshold : ' ' , unstableThreshold : ' ' ], [$class : ' SkippedThreshold' , failureNewThreshold : ' ' , failureThreshold : ' ' , unstableNewThreshold : ' ' , unstableThreshold : ' ' ]], tools : [[$class : ' GoogleTestType' , deleteOutputFiles : true , failIfNotNew : true , pattern : ' test/*_test.xml' , skipNoTestFiles : false , stopProcessingIfError : true ]]])
218
224
}
219
225
}
0 commit comments