From 35bbaaf19c5897795f1553d35ee27a4e1f82a234 Mon Sep 17 00:00:00 2001 From: Tristan Radisson Date: Wed, 2 Aug 2023 14:42:54 +0200 Subject: [PATCH] Correct promote pipeline (#5431) --- .ci/jenkins/Jenkinsfile.promote | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.ci/jenkins/Jenkinsfile.promote b/.ci/jenkins/Jenkinsfile.promote index 9e6bb1da193..8a8302f60ed 100644 --- a/.ci/jenkins/Jenkinsfile.promote +++ b/.ci/jenkins/Jenkinsfile.promote @@ -70,7 +70,7 @@ pipeline { stage('Upload drools binaries and documentation') { when { - expression { return isRelease() } + expression { return isRelease() && isStream8() } } steps { script { @@ -288,4 +288,8 @@ void uploadFileMgmt(String directory) { boolean isNotTestingBuild() { return getGitAuthor() == 'kiegroup' -} \ No newline at end of file +} + +boolean isStream8() { + return env.DROOLS_STREAM == '8' +}