@@ -95,7 +95,7 @@ pipeline {
9595 stage(' Cache Tests' ) {
9696 steps {
9797 echo ' Running tests'
98- sh ' mvn -B -e -fae clean test ${MVN_SHOW_TIMESTAMPS} -P ci-test ${MVN_LOCAL_REPO_OPT} -Dassembly.skipAssembly=true jacoco:report-aggregate@jacoco-report -pl :event-sourcing-pojo -am'
98+ sh ' mvn -B -e -fae clean test ${MVN_SHOW_TIMESTAMPS} -P ci-test ${MVN_LOCAL_REPO_OPT} -Dassembly.skipAssembly=true jacoco:report-aggregate@jacoco-report -Dorg.slf4j.simpleLogger.log.develocity.goal.cache=trace - pl :event-sourcing-pojo -am'
9999 }
100100 }
101101// stage('Stable Tests') {
@@ -118,24 +118,24 @@ pipeline {
118118// }
119119// }
120120
121- stage(' Unstable Tests' ) {
122- steps {
123- echo ' Running unstable tests'
124- catchError(buildResult : ' SUCCESS' , stageResult : ' FAILURE' ) {
125- sh ' mvn -B -e -fae clean test -Punstable-tests ${MVN_SHOW_TIMESTAMPS} -P ci-test ${MVN_LOCAL_REPO_OPT} -Dassembly.skipAssembly=true'
126- }
127- }
128- post {
129- always {
130- junit(testResults : ' **/surefire-reports/*.xml' , allowEmptyResults : true )
131- junit(testResults : ' **/failsafe-reports/*.xml' , allowEmptyResults : true )
132- }
133- failure {
134- archiveArtifacts artifacts : ' **/target/test-run.log' , fingerprint : true
135- archiveArtifacts artifacts : ' **/surefire-reports/*' , fingerprint : true
136- }
137- }
138- }
121+ // stage('Unstable Tests') {
122+ // steps {
123+ // echo 'Running unstable tests'
124+ // catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
125+ // sh 'mvn -B -e -fae clean test -Punstable-tests ${MVN_SHOW_TIMESTAMPS} -P ci-test ${MVN_LOCAL_REPO_OPT} -Dassembly.skipAssembly=true'
126+ // }
127+ // }
128+ // post {
129+ // always {
130+ // junit(testResults: '**/surefire-reports/*.xml', allowEmptyResults: true)
131+ // junit(testResults: '**/failsafe-reports/*.xml', allowEmptyResults: true)
132+ // }
133+ // failure {
134+ // archiveArtifacts artifacts: '**/target/test-run.log' , fingerprint: true
135+ // archiveArtifacts artifacts: '**/surefire-reports/*' , fingerprint: true
136+ // }
137+ // }
138+ // }
139139
140140 stage(' Deploy' ) {
141141 when { branch ' master' }
0 commit comments