Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into HEAD
Browse files Browse the repository at this point in the history
  • Loading branch information
janvonde committed May 24, 2024
2 parents 77622fb + 372c746 commit 122e456
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,20 @@ pipeline {
}
stage('sonarcloud') {
when {
anyOf {
branch 'master'
branch 'release_*'
branch 'sonar_*'
allOf {
branch 'PR-*'
expression { env.CHANGE_BRANCH.startsWith("release_") }
allOf {
anyOf {
branch 'master'
branch 'release_*'
branch 'sonar_*'
allOf {
branch 'PR-*'
expression { env.CHANGE_BRANCH.startsWith("release_") }
}
}
not {
expression {
return fileExists('DO_NOT_PUBLISH')
}
}
}
}
Expand Down Expand Up @@ -124,7 +131,6 @@ pipeline {
enabledForFailure: true, aggregatingResults: false,
tools: [checkStyle(pattern: 'target/checkstyle-result.xml', reportEncoding: 'UTF-8')]
)
dependencyCheckPublisher pattern: 'target/dependency-check-report.xml'
}
success {
archiveArtifacts artifacts: '**/target/*.jar, install/*', fingerprint: true, onlyIfSuccessful: true
Expand Down

0 comments on commit 122e456

Please sign in to comment.