This is an automated email from the ASF dual-hosted git repository. rantunes pushed a commit to branch kie-issues_821 in repository https://gitbox.apache.org/repos/asf/incubator-kie-kogito-images.git
commit 29a66140a22f52bafbe40c9f943402e031c89575 Author: Rodrigo Antunes <[email protected]> AuthorDate: Wed Jan 31 10:26:25 2024 -0300 Update weekly job --- .ci/jenkins/Jenkinsfile.weekly.deploy | 11 ----------- .ci/jenkins/dsl/jobs.groovy | 1 - 2 files changed, 12 deletions(-) diff --git a/.ci/jenkins/Jenkinsfile.weekly.deploy b/.ci/jenkins/Jenkinsfile.weekly.deploy index 5280de81..cabf8269 100644 --- a/.ci/jenkins/Jenkinsfile.weekly.deploy +++ b/.ci/jenkins/Jenkinsfile.weekly.deploy @@ -185,13 +185,6 @@ void checkoutRepo() { checkout(githubscm.resolveRepository(getRepoName(), getGitAuthor(), getBuildBranch(), false, getGitAuthorCredsId())) } -void commitAndPushChanges(String commitMsg) { - githubscm.setUserConfigFromCreds(getGitAuthorPushCredsId()) - githubscm.commitChanges(commitMsg) - githubscm.pushObject('origin', getPRBranch(), getGitAuthorPushCredsId()) - changesDone = true -} - void createBuildAndTestStageClosure(String image) { return { stage("Build&Test ${image}") { @@ -311,10 +304,6 @@ String getGitAuthorPushCredsId() { return env.GIT_AUTHOR_PUSH_CREDS_ID } -String getPRBranch() { - return params.KOGITO_PR_BRANCH -} - String getOpenShiftRegistry() { String registry = '' withCredentials([string(credentialsId: 'OPENSHIFT_REGISTRY', variable: 'OPENSHIFT_REGISTRY')]) { diff --git a/.ci/jenkins/dsl/jobs.groovy b/.ci/jenkins/dsl/jobs.groovy index 5424a23d..3c7403e7 100644 --- a/.ci/jenkins/dsl/jobs.groovy +++ b/.ci/jenkins/dsl/jobs.groovy @@ -372,7 +372,6 @@ void setupWeeklyDeployJob(JobType jobType) { stringParam('GIT_CHECKOUT_DATETIME', '', 'Git checkout date and time - (Y-m-d H:i)') - stringParam('KOGITO_PR_BRANCH', '', 'PR branch name') booleanParam('SEND_NOTIFICATION', false, 'In case you want the pipeline to send a notification on CI channel for this run.') } } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
