From f35559b48be60af4e27fd468b34ccea2dd4c1786 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 2 Aug 2023 14:44:47 +0200 Subject: [PATCH] Correct promote pipeline (#5431) (#5433) Co-authored-by: Tristan Radisson --- .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' +}