Skip to content

Commit 2a50169

Browse files
committed
comments and echoing env vars
1 parent ce35144 commit 2a50169

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

Jenkinsfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
node("cxs-ups-testsuites") {
2+
echo sh(returnStdout: true, script: 'env')
3+
24
// Mark the code checkout 'stage'....
35
stage ('Checkout') {
46
checkout scm
57
}
68

79
// Mark the code build 'stage'....
810
stage ("Build") {
9-
// Run the maven build
11+
// Run the maven build with in-module unit testing
1012
sh "mvn -f restcomm/pom.xml -T 1.5C clean install -pl \\!restcomm.testsuite -Dmaven.test.failure.ignore=true -Dmaven.test.redirectTestOutputToFile=true"
1113
//keep this build for later use
12-
stash allowEmpty: true, includes: '$HOME/.m2/repository/org/restcomm/**', name: 'mavenArtifacts'
14+
//TODO stash allowEmpty: true, includes: '$HOME/.m2/repository/org/restcomm/**', name: 'mavenArtifacts'
1315
junit '**/target/surefire-reports/*.xml'
1416
//prevent to report this test results two times
1517
sh "mvn -f restcomm/pom.xml clean"
@@ -18,13 +20,14 @@ node("cxs-ups-testsuites") {
1820
stage("CITestsuite") {
1921
parallel (
2022
"SequentialTests" : {
23+
//this runs in same node as previous, no need to recompile
2124
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"'
2225
junit testResults: '**/target/surefire-reports/*.xml', testDataPublishers: [[$class: 'StabilityTestDataPublisher']]
2326
},
2427
"ParallelTests" : {
2528
node('cxs-ups-testsuites_large'){
2629
//different node, rebuild
27-
unstash 'mavenArtifacts'
30+
//TODO unstash 'mavenArtifacts'
2831
checkout scm
2932
sh 'mvn -f restcomm/pom.xml -T 1.5C clean install -pl \\!restcomm.testsuite -DskipTests'
3033
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"'

0 commit comments

Comments
 (0)