Skip to content

Commit

Permalink
restore Jenkinsfile triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
berezovskyi authored Sep 21, 2024
1 parent 2e7ecee commit 3a65310
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ pipeline {
}
stages {
stage('SonarCloud') {
// when {
// triggeredBy 'SCMTrigger'
// }
when {
triggeredBy 'SCMTrigger'
}
environment {
PROJECT_NAME = 'lyo'
}
Expand All @@ -33,6 +33,7 @@ pipeline {
}
stage('Publish (OSSRH)') {
when {
triggeredBy 'SCMTrigger'
anyOf {
branch 'master'
branch 'main'
Expand Down Expand Up @@ -80,6 +81,7 @@ pipeline {
}
stage('Publish (Eclipse)') {
when {
triggeredBy 'SCMTrigger'
anyOf {
branch 'master'
branch 'main'
Expand Down Expand Up @@ -111,6 +113,7 @@ pipeline {
}
stage('Publish HEAD Javadocs') {
when {
triggeredBy 'SCMTrigger'
branch 'master'
}
steps {
Expand Down

0 comments on commit 3a65310

Please sign in to comment.