Skip to content

Commit

Permalink
kie-issues#423: 9.x: Remove build-chain patch
Browse files Browse the repository at this point in the history
  • Loading branch information
radtriste committed Aug 16, 2023
1 parent fe73ad5 commit 0469651
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 348 deletions.
302 changes: 0 additions & 302 deletions .ci/environments/quarkus-3/patches/1000_ci_updates.patch

This file was deleted.

6 changes: 3 additions & 3 deletions .ci/jenkins/Jenkinsfile.deploy
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ MavenCommand getMavenCommand(String directory = '') {
def mvnCmd = new MavenCommand(this, ['-fae', '-ntp'])
.withSettingsXmlId(env.MAVEN_SETTINGS_CONFIG_FILE_ID)
.inDirectory(directory)
if (!isStream8()) { // Workaround as enforcer rules may not be fixed on other streams
if (!isMainStream()) { // Workaround as enforcer rules may not be fixed on other streams
mvnCmd.withProperty('enforcer.skip')
} else {
mvnCmd.withProperty('full')
Expand Down Expand Up @@ -298,6 +298,6 @@ String getLocalDeploymentFolder() {
return "${env.MAVEN_DEPLOY_LOCAL_DIR}/${getRepoName()}"
}

boolean isStream8() {
return env.DROOLS_STREAM == '8'
boolean isMainStream() {
return env.DROOLS_STREAM == 'main'
}
6 changes: 3 additions & 3 deletions .ci/jenkins/Jenkinsfile.promote
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ pipeline {

stage('Upload drools binaries and documentation') {
when {
expression { return isStream8() }
expression { return isMainStream() }
}
steps {
script {
Expand Down Expand Up @@ -218,6 +218,6 @@ boolean isNotTestingBuild() {
return getGitAuthor() == 'kiegroup'
}

boolean isStream8() {
return env.DROOLS_STREAM == '8'
boolean isMainStream() {
return env.DROOLS_STREAM == 'main'
}
6 changes: 3 additions & 3 deletions .ci/jenkins/Jenkinsfile.setup-branch
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ pipeline {
}
stage('Update Drools version in kie-benchmarks') {
when {
expression { isStream8() && isMainBranch() }
expression { isMainStream() && isMainBranch() }
}
steps {
script {
Expand Down Expand Up @@ -158,6 +158,6 @@ void mergeAndPush(String prLink, String targetBranch) {
}
}

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

0 comments on commit 0469651

Please sign in to comment.