Skip to content

Commit c7776d1

Browse files
committed
run sequential test in same node
1 parent 48c80d9 commit c7776d1

1 file changed

Lines changed: 4 additions & 9 deletions

File tree

Jenkinsfile

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,16 @@ node("cxs-ups-testsuites") {
1818
stage("CITestsuite") {
1919
parallel (
2020
"SequentialTests" : {
21-
node('cxs-ups-testsuites'){
22-
unstash 'mavenArtifacts'
23-
checkout scm
24-
sh 'mvn -f restcomm/pom.xml -T 1.5C clean install -pl \\!restcomm.testsuite -DskipTests'
25-
sh 'mvn -f restcomm/restcomm.testsuite/pom.xml clean install -DskipUTs=false -Dmaven.test.failure.ignore=true -Dmaven.test.redirectTestOutputToFile=true -Dfailsafe.rerunFailingTestsCount=0 -DexcludedGroups="org.restcomm.connect.commons.annotations.ParallelClassTests or org.restcomm.connect.commons.annotations.UnstableTests or org.restcomm.connect.commons.annotations.BrokenTests"'
26-
junit testResults: '**/target/surefire-reports/*.xml', testDataPublishers: [[$class: 'StabilityTestDataPublisher']]
27-
28-
}
21+
sh 'mvn -f restcomm/restcomm.testsuite/pom.xml clean install -DskipUTs=false -Dmaven.test.failure.ignore=true -Dmaven.test.redirectTestOutputToFile=true -Dfailsafe.rerunFailingTestsCount=0 -DexcludedGroups="org.restcomm.connect.commons.annotations.ParallelClassTests or org.restcomm.connect.commons.annotations.UnstableTests or org.restcomm.connect.commons.annotations.BrokenTests"'
22+
junit testResults: '**/target/surefire-reports/*.xml', testDataPublishers: [[$class: 'StabilityTestDataPublisher']]
2923
},
3024
"ParallelTests" : {
3125
node('cxs-ups-testsuites_large'){
26+
//different node, rebuild
3227
unstash 'mavenArtifacts'
3328
checkout scm
3429
sh 'mvn -f restcomm/pom.xml -T 1.5C clean install -pl \\!restcomm.testsuite -DskipTests'
35-
sh 'mvn -f restcomm/restcomm.testsuite/pom.xml clean install -DforkCount=16 -Dmaven.test.failure.ignore=true -Dmaven.test.redirectTestOutputToFile=true -Dfailsafe.rerunFailingTestsCount=0 -Dgroups="org.restcomm.connect.commons.annotations.ParallelClassTests" -DexcludedGroups="org.restcomm.connect.commons.annotations.UnstableTests or org.restcomm.connect.commons.annotations.BrokenTests"'
30+
sh 'mvn -f restcomm/restcomm.testsuite/pom.xml clean install -Pparallel-testing -DforkCount=16 -Dmaven.test.failure.ignore=true -Dmaven.test.redirectTestOutputToFile=true -Dfailsafe.rerunFailingTestsCount=0 -Dgroups="org.restcomm.connect.commons.annotations.ParallelClassTests" -DexcludedGroups="org.restcomm.connect.commons.annotations.UnstableTests or org.restcomm.connect.commons.annotations.BrokenTests"'
3631
junit testResults: '**/target/surefire-reports/*.xml', testDataPublishers: [[$class: 'StabilityTestDataPublisher']]
3732
}
3833
}

0 commit comments

Comments
 (0)