From 3a6531079669c45a43ec838b12b86484159b9c2d Mon Sep 17 00:00:00 2001 From: Andrew Berezovskyi Date: Sat, 21 Sep 2024 17:15:23 +0200 Subject: [PATCH] restore Jenkinsfile triggers --- Jenkinsfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index d141fb659..241ff96c5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,9 +9,9 @@ pipeline { } stages { stage('SonarCloud') { - // when { - // triggeredBy 'SCMTrigger' - // } + when { + triggeredBy 'SCMTrigger' + } environment { PROJECT_NAME = 'lyo' } @@ -33,6 +33,7 @@ pipeline { } stage('Publish (OSSRH)') { when { + triggeredBy 'SCMTrigger' anyOf { branch 'master' branch 'main' @@ -80,6 +81,7 @@ pipeline { } stage('Publish (Eclipse)') { when { + triggeredBy 'SCMTrigger' anyOf { branch 'master' branch 'main' @@ -111,6 +113,7 @@ pipeline { } stage('Publish HEAD Javadocs') { when { + triggeredBy 'SCMTrigger' branch 'master' } steps {