From 729dd5a3998272fc6af1b6cad99515723001be14 Mon Sep 17 00:00:00 2001 From: Tristan Radisson Date: Wed, 2 Aug 2023 14:30:30 +0200 Subject: [PATCH] Correct promote pipeline --- .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' +}