File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -54,10 +54,11 @@ pipeline {
5454 }
5555 }
5656 options {
57- timeout(activity : true , time : 120 , unit : ' SECONDS' )
57+ timeout(activity : true , time : 240 , unit : ' SECONDS' )
5858 }
5959 steps {
6060 withMaven(jdk : env. JDK_TOOL_NAME , maven : env. MAVEN_TOOL_NAME ) {
61+ // `package` goal is required here to load modules in reactor and avoid dependency resolve conflicts
6162 sh ' mvn -DskipTests=true package pmd:pmd pmd:cpd spotbugs:spotbugs'
6263 }
6364 }
@@ -76,7 +77,7 @@ pipeline {
7677 }
7778 }
7879 options {
79- timeout(activity : true , time : 120 , unit : ' SECONDS' )
80+ timeout(activity : true , time : 180 , unit : ' SECONDS' )
8081 }
8182 steps {
8283 withMaven(jdk : env. JDK_TOOL_NAME , maven : env. MAVEN_TOOL_NAME ) {
@@ -85,7 +86,7 @@ pipeline {
8586 }
8687 post {
8788 always {
88- junit testResults : ' **/target/surefire-reports/TEST-*.xml' , allowEmptyResults : true
89+ junit testResults : ' **/target/surefire-reports/TEST-*.xml'
8990 }
9091 }
9192 }
@@ -117,7 +118,7 @@ pipeline {
117118 }
118119 }
119120 }
120- stage(' Deploy Jar to Internal Nexus Repository' ) {
121+ stage(' Deploy to Internal Nexus Repository' ) {
121122 when {
122123 anyOf {
123124 branch ' main'
You can’t perform that action at this time.
0 commit comments