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 a26e7ffac8afb0a8bfd6dfeed090091d377c0bb9
Author: Rodrigo Antunes <[email protected]>
AuthorDate: Wed Jan 31 10:48:27 2024 -0300

    Update weekly job
---
 .ci/jenkins/Jenkinsfile.weekly.deploy | 2 +-
 .ci/jenkins/dsl/jobs.groovy           | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/.ci/jenkins/Jenkinsfile.weekly.deploy 
b/.ci/jenkins/Jenkinsfile.weekly.deploy
index cabf8269..045e2366 100644
--- a/.ci/jenkins/Jenkinsfile.weekly.deploy
+++ b/.ci/jenkins/Jenkinsfile.weekly.deploy
@@ -270,7 +270,7 @@ String getDeployImageNamespace() {
     return isDeployImageInOpenshiftRegistry() ? 'openshift' : 
params.IMAGE_NAMESPACE
 }
 String getDeployImageNameSuffix() {
-    return 'nightly'
+    return params.IMAGE_NAME_SUFFIX
 }
 String getDeployImageTag() {
     return getProjectVersion(false)
diff --git a/.ci/jenkins/dsl/jobs.groovy b/.ci/jenkins/dsl/jobs.groovy
index cbde5396..d606d139 100644
--- a/.ci/jenkins/dsl/jobs.groovy
+++ b/.ci/jenkins/dsl/jobs.groovy
@@ -368,6 +368,7 @@ 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('DEPLOY_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.')
             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]

Reply via email to