Skip to content

Commit

Permalink
Correct promote pipeline (apache#5431) (apache#5433)
Browse files Browse the repository at this point in the history
Co-authored-by: Tristan Radisson <[email protected]>
  • Loading branch information
2 people authored and nprentza committed Aug 4, 2023
1 parent 0de69c6 commit 11592e0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .ci/jenkins/Jenkinsfile.promote
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ pipeline {

stage('Upload drools binaries and documentation') {
when {
expression { return isRelease() }
expression { return isRelease() && isStream8() }
}
steps {
script {
Expand Down Expand Up @@ -288,4 +288,8 @@ void uploadFileMgmt(String directory) {

boolean isNotTestingBuild() {
return getGitAuthor() == 'kiegroup'
}
}

boolean isStream8() {
return env.DROOLS_STREAM == '8'
}

0 comments on commit 11592e0

Please sign in to comment.