Skip to content

Commit

Permalink
Fix kogito apps git reference in the release cloud job
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigonull committed Aug 28, 2024
1 parent c0aefd2 commit 35ff7d6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .ci/jenkins/Jenkinsfile.release.cloud
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ pipeline {
steps {
script {
env.APPS_URI = params.APPS_URI ?: (getReleaseProperty('apps.uri') ?: "https://github.com/${getGitAuthor()}/incubator-kie-kogito-apps")
env.APPS_REF = params.APPS_REF ?: (getReleaseProperty('apps.ref') ?: getBuildBranch())
env.APPS_REF = params.APPS_REF ?: (getReleaseProperty('apps.ref') ?: getGitTagName())

echo "Got apps uri ${env.APPS_URI}"
echo "Got apps ref ${env.APPS_REF}"
Expand Down Expand Up @@ -317,10 +317,6 @@ String getGitAuthor() {
return env.GIT_AUTHOR
}

String getBuildBranch() {
return env.GIT_BRANCH_NAME
}

boolean isImagesRelease() {
return !params.SKIP_IMAGES_RELEASE
}
Expand Down

0 comments on commit 35ff7d6

Please sign in to comment.