Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,11 @@ pipeline {
}
}
options {
timeout(activity: true, time: 120, unit: 'SECONDS')
timeout(activity: true, time: 240, unit: 'SECONDS')
}
steps {
withMaven(jdk: env.JDK_TOOL_NAME, maven: env.MAVEN_TOOL_NAME) {
// `package` goal is required here to load modules in reactor and avoid dependency resolve conflicts
sh 'mvn -DskipTests=true package pmd:pmd pmd:cpd spotbugs:spotbugs'
}
}
Expand All @@ -76,7 +77,7 @@ pipeline {
}
}
options {
timeout(activity: true, time: 120, unit: 'SECONDS')
timeout(activity: true, time: 180, unit: 'SECONDS')
}
steps {
withMaven(jdk: env.JDK_TOOL_NAME, maven: env.MAVEN_TOOL_NAME) {
Expand All @@ -85,7 +86,7 @@ pipeline {
}
post {
always {
junit testResults: '**/target/surefire-reports/TEST-*.xml', allowEmptyResults: true
junit testResults: '**/target/surefire-reports/TEST-*.xml'
}
}
}
Expand Down Expand Up @@ -117,7 +118,7 @@ pipeline {
}
}
}
stage('Deploy Jar to Internal Nexus Repository') {
stage('Deploy to Internal Nexus Repository') {
when {
anyOf {
branch 'main'
Expand Down