@@ -85,6 +85,8 @@ pipeline {
8585 stage(' Unit' ) {
8686 stages {
8787 stage(' CE' ) {
88+ // commented to show CBG-4852 CE test failures also
89+ // when { branch 'main' }
8890 when { branch ' main' }
8991 steps {
9092 script {
@@ -95,7 +97,9 @@ pipeline {
9597 sh ' mkdir -p reports'
9698 // --junitfile-project-name is used so that Jenkins doesn't collapse CE and EE results together.
9799 def testExitCode = sh(
98- script : ' gotestsum --junitfile=test-ce.xml --junitfile-project-name CE --junitfile-testcase-classname relative --format standard-verbose -- -shuffle=on -timeout=20m -coverpkg=./... -coverprofile=cover_ce.out -race -count=1 ./... > verbose_ce.out' ,
100+ // switch ... to base package to show CBG-4852 CE test failures quicker
101+ // script: 'gotestsum --junitfile=test-ce.xml --junitfile-project-name CE --junitfile-testcase-classname relative --format standard-verbose -- -shuffle=on -timeout=20m -coverpkg=./... -coverprofile=cover_ce.out -race -count=1 ./... > verbose_ce.out',
102+ script : ' gotestsum --junitfile=test-ce.xml --junitfile-project-name CE --junitfile-testcase-classname relative --format standard-verbose -- -shuffle=on -timeout=20m -coverpkg=./... -coverprofile=cover_ce.out -race -count=1 ./base > verbose_ce.out' ,
99103 returnStatus : true ,
100104 )
101105
@@ -143,7 +147,9 @@ pipeline {
143147 sh ' mkdir -p reports'
144148 // --junitfile-project-name is used so that Jenkins doesn't collapse CE and EE results together.
145149 def testExitCode = sh(
146- script : " gotestsum --junitfile=test-ee.xml --junitfile-project-name EE --junitfile-testcase-classname relative --format standard-verbose -- -shuffle=on -timeout=20m -tags ${ EE_BUILD_TAG} -coverpkg=./... -coverprofile=cover_ee.out -race -count=1 ./... 2>&1 > verbose_ee.out" ,
150+ // CBG-4852 demonstrate failure faster with just base package instead of ...
151+ // script: "gotestsum --junitfile=test-ee.xml --junitfile-project-name EE --junitfile-testcase-classname relative --format standard-verbose -- -shuffle=on -timeout=20m -tags ${EE_BUILD_TAG} -coverpkg=./... -coverprofile=cover_ee.out -race -count=1 ./... 2>&1 > verbose_ee.out",
152+ script : " gotestsum --junitfile=test-ee.xml --junitfile-project-name EE --junitfile-testcase-classname relative --format standard-verbose -- -shuffle=on -timeout=20m -tags ${ EE_BUILD_TAG} -coverpkg=./... -coverprofile=cover_ee.out -race -count=1 ./base 2>&1 > verbose_ee.out" ,
147153 returnStatus : true ,
148154 )
149155
0 commit comments