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
The following commit(s) were added to refs/heads/kie-issues_821 by this push:
new e04aa0da Fix weekly job
e04aa0da is described below
commit e04aa0da00494f94c598fdeb0e263a4972bcd4c0
Author: Rodrigo Antunes <[email protected]>
AuthorDate: Wed Jan 31 08:25:59 2024 -0300
Fix weekly job
---
.ci/jenkins/Jenkinsfile.weekly.deploy | 8 ++------
.ci/jenkins/dsl/jobs.groovy | 2 --
2 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/.ci/jenkins/Jenkinsfile.weekly.deploy
b/.ci/jenkins/Jenkinsfile.weekly.deploy
index 7c658282..5280de81 100644
--- a/.ci/jenkins/Jenkinsfile.weekly.deploy
+++ b/.ci/jenkins/Jenkinsfile.weekly.deploy
@@ -277,14 +277,10 @@ String getDeployImageNamespace() {
return isDeployImageInOpenshiftRegistry() ? 'openshift' :
params.IMAGE_NAMESPACE
}
String getDeployImageNameSuffix() {
- return params.IMAGE_NAME_SUFFIX
+ return 'nightly'
}
String getDeployImageTag() {
- if (params.IMAGE_TAG != '') {
- return params.IMAGE_TAG
- } else {
- return sh(script: 'git rev-parse --short HEAD', returnStdout:
true).trim()
- }
+ return getProjectVersion(false)
}
boolean isDeployLatestTag() {
diff --git a/.ci/jenkins/dsl/jobs.groovy b/.ci/jenkins/dsl/jobs.groovy
index f04380ca..5424a23d 100644
--- a/.ci/jenkins/dsl/jobs.groovy
+++ b/.ci/jenkins/dsl/jobs.groovy
@@ -368,8 +368,6 @@ void setupWeeklyDeployJob(JobType jobType) {
stringParam('IMAGE_REGISTRY_CREDENTIALS',
"${CLOUD_IMAGE_REGISTRY_CREDENTIALS}", 'Image registry credentials to use to
deploy images. Will be ignored if no IMAGE_REGISTRY is given')
stringParam('IMAGE_REGISTRY', "${CLOUD_IMAGE_REGISTRY}", 'Image
registry to use to deploy images')
stringParam('IMAGE_NAMESPACE', "${CLOUD_IMAGE_NAMESPACE}", 'Image
namespace to use to deploy images')
- stringParam('IMAGE_NAME_SUFFIX', '', 'Image name suffix to use to
deploy images. In case you need to change the final image name, you can add a
suffix to it.')
- stringParam('IMAGE_TAG', '', 'Image tag to use to deploy images')
booleanParam('DEPLOY_WITH_LATEST_TAG', false, 'Set to true if you
want the deployed images to also be with the `latest` tag')
stringParam('GIT_CHECKOUT_DATETIME', '', 'Git checkout date and
time - (Y-m-d H:i)')
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]