Commit 31333f87 authored by Romain Bioteau's avatar Romain Bioteau

Merge remote-tracking branch 'origin/master' into dev

Conflicts:
	Jenkinsfile
	bonita-userfilter-custom-user-info/pom.xml
parents 997aab1a 2158ab8b
......@@ -14,15 +14,18 @@ timestamps {
stage('🔧 Build') {
try {
def goals = 'clean install'
if (isBaseBranch()) {
goals = 'clean deploy -DaltDeploymentRepository=${env.ALT_DEPLOYMENT_REPOSITORY_SNAPSHOTS}'
}
def goals = isBaseBranch() ?
"clean deploy -DaltDeploymentRepository=${env.ALT_DEPLOYMENT_REPOSITORY_SNAPSHOTS}"
: "clean install"
// the -B flag disables download progress logs
sh "./mvnw -B $goal"
sh "./mvnw -B $goals"
} finally {
junit '**/target/surefire-reports/*.xml,**/target/failsafe-reports/*.xml'
archiveArtifacts '**/target/*.zip'
try{
junit '**/target/surefire-reports/*.xml,**/target/failsafe-reports/*.xml'
archiveArtifacts '**/target/*.zip'
}catch (Exception e){
}
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment