Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quarkus 3: Disable kie-jpmml-integration calls #5489

Merged
merged 2 commits into from
Aug 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .ci/jenkins/project/Jenkinsfile.nightly
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ pipeline {
}
}
stage('Build & Deploy KIE jpmml integration') {
when {
expression { return isMainStream() }
}
steps {
script {
def buildParams = getDefaultBuildParams()
Expand Down Expand Up @@ -169,3 +172,7 @@ void addBooleanParam(List buildParams, String key, boolean value) {
String getBuildBranch() {
return env.GIT_BRANCH_NAME
}

boolean isMainStream() {
return env.STREAM == 'main'
}
9 changes: 8 additions & 1 deletion .ci/jenkins/project/Jenkinsfile.release
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ pipeline {
}

stage('Build & Deploy KIE jpmml integration') {
when {
expression { return isMainStream() }
}
steps {
script {
def buildParams = getDefaultBuildParams()
Expand Down Expand Up @@ -128,7 +131,7 @@ pipeline {

stage('Promote KIE jpmml integration') {
when {
expression { return isJobConsideredOk(getDeployJobName(kieJpmmlIntegrationRepo)) }
expression { return isMainStream() && isJobConsideredOk(getDeployJobName(kieJpmmlIntegrationRepo)) }
}
steps {
script {
Expand Down Expand Up @@ -407,3 +410,7 @@ boolean areArtifactsReleased() {
void setArtifactsReleased() {
setReleasePropertyIfneeded(ARTIFACTS_RELEASE_STAGE, true)
}

boolean isMainStream() {
return env.STREAM == 'main'
}
7 changes: 7 additions & 0 deletions .ci/jenkins/project/Jenkinsfile.setup-branch
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ pipeline {
}

stage('Init KIE jpmml integration') {
when {
expression { return isMainStream() }
}
steps {
script {
def buildParams = getDefaultBuildParams()
Expand Down Expand Up @@ -194,3 +197,7 @@ String getVersionFromReleaseBranch(String releaseBranch, int microVersion = 0, S
error 'Cannot parse given branch as a release branch, aka [M].[m].x ...'
}
}

boolean isMainStream() {
return env.STREAM == 'main'
}