File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -90,6 +90,7 @@ pipeline {
9090 }
9191 }
9292 stage(' Integration Tests' ) {
93+ stage(' Integration Tests' ) {
9394 when {
9495 anyOf {
9596 branch ' main'
@@ -98,7 +99,7 @@ pipeline {
9899 }
99100 }
100101 options {
101- timeout(activity : true , time : 120 , unit : ' SECONDS' )
102+ timeout(activity : true , time : 1800 , unit : ' SECONDS' )
102103 }
103104 steps {
104105 withMaven(jdk : env. JDK_TOOL_NAME , maven : env. MAVEN_TOOL_NAME ) {
@@ -110,7 +111,10 @@ pipeline {
110111 junit testResults : ' **/target/failsafe-reports/TEST-*.xml' , allowEmptyResults : true
111112 }
112113 success {
113- publishCoverage adapters : [jacoco(mergeToOneReport : true , path : ' **/target/site/jacoco/jacoco.xml' )]
114+ discoverReferenceBuild()
115+ recordCoverage(tools : [[ parser : ' JACOCO' ]],
116+ id : ' jacoco' , name : ' JaCoCo Coverage' ,
117+ sourceCodeRetention : ' LAST_BUILD' )
114118 }
115119 }
116120 }
You can’t perform that action at this time.
0 commit comments