@@ -35,8 +35,8 @@ pipeline {
35
35
parameters {
36
36
string(name : ' MAVEN_CONFIG' , defaultValue : ' -V -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Dhttps.protocols=TLSv1.2 -Dmaven.wagon.http.retryHandler.count=3 -Dmaven.wagon.httpconnectionManager.ttlSeconds=25' , description : ' Additional maven options.' )
37
37
booleanParam(name : ' test_ci' , defaultValue : true , description : ' Enable Unit tests' )
38
- booleanParam(name : ' smoketests_ci ' , defaultValue : true , description : ' Enable Smoke tests' )
39
- booleanParam(name : ' integrationtests_ci ' , defaultValue : true , description : ' Enable Integration tests' )
38
+ booleanParam(name : ' agent_integration_tests_ci ' , defaultValue : true , description : ' Enable Agent Integration tests' )
39
+ booleanParam(name : ' endtoend_tests_ci ' , defaultValue : true , description : ' Enable APM End-to-End Integration tests' )
40
40
booleanParam(name : ' bench_ci' , defaultValue : true , description : ' Enable benchmarks' )
41
41
booleanParam(name : ' compatibility_ci' , defaultValue : false , description : ' Enable JDK compatibility tests' )
42
42
}
@@ -153,10 +153,7 @@ pipeline {
153
153
}
154
154
}
155
155
}
156
- /**
157
- Run smoke tests for different servers and databases.
158
- */
159
- stage(' Smoke Tests 01' ) {
156
+ stage(' Non-Application Server integration tests' ) {
160
157
agent { label ' linux && immutable' }
161
158
options { skipDefaultCheckout() }
162
159
environment {
@@ -166,15 +163,15 @@ pipeline {
166
163
}
167
164
when {
168
165
beforeAgent true
169
- expression { return params. smoketests_ci }
166
+ expression { return params. agent_integration_tests_ci }
170
167
}
171
168
steps {
172
- withGithubNotify(context : ' Smoke Tests 01 ' , tab : ' tests' ) {
169
+ withGithubNotify(context : ' Non-Application Server integration tests ' , tab : ' tests' ) {
173
170
deleteDir()
174
171
unstashV2(name : ' build' , bucket : " ${ JOB_GCS_BUCKET_STASH} " , credentialsId : " ${ JOB_GCS_CREDENTIALS} " )
175
172
dir(" ${ BASE_DIR} " ){
176
173
withOtelEnv() {
177
- sh ' ./scripts/jenkins/smoketests-01.sh '
174
+ sh ' ./mvnw -q -P ci-non-application-server-integration-tests verify '
178
175
}
179
176
}
180
177
}
@@ -185,10 +182,7 @@ pipeline {
185
182
}
186
183
}
187
184
}
188
- /**
189
- Run smoke tests for different servers and databases.
190
- */
191
- stage(' Smoke Tests 02' ) {
185
+ stage(' Application Server integration tests' ) {
192
186
agent { label ' linux && immutable' }
193
187
options { skipDefaultCheckout() }
194
188
environment {
@@ -198,15 +192,15 @@ pipeline {
198
192
}
199
193
when {
200
194
beforeAgent true
201
- expression { return params. smoketests_ci }
195
+ expression { return params. agent_integration_tests_ci }
202
196
}
203
197
steps {
204
- withGithubNotify(context : ' Smoke Tests 02 ' , tab : ' tests' ) {
198
+ withGithubNotify(context : ' Application Server integration tests ' , tab : ' tests' ) {
205
199
deleteDir()
206
200
unstashV2(name : ' build' , bucket : " ${ JOB_GCS_BUCKET_STASH} " , credentialsId : " ${ JOB_GCS_CREDENTIALS} " )
207
201
dir(" ${ BASE_DIR} " ){
208
202
withOtelEnv() {
209
- sh ' ./scripts/jenkins/smoketests-02.sh '
203
+ sh ' ./mvnw -q -P ci-application-server-integration-tests verify '
210
204
}
211
205
}
212
206
}
@@ -295,14 +289,14 @@ pipeline {
295
289
}
296
290
}
297
291
}
298
- stage(' Integration Tests' ) {
292
+ stage(' End-To-End Integration Tests' ) {
299
293
agent none
300
294
when {
301
295
allOf {
302
296
expression { return env. ONLY_DOCS == " false" }
303
297
anyOf {
304
298
changeRequest()
305
- expression { return params. integrationtests_ci }
299
+ expression { return params. endtoend_tests_ci }
306
300
expression { return env. GITHUB_COMMENT ?. contains(' integration tests' ) }
307
301
}
308
302
}
0 commit comments