This is an automated email from the ASF dual-hosted git repository.

rantunes pushed a commit to branch main
in repository 
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-images.git


The following commit(s) were added to refs/heads/main by this push:
     new 38632d21 Restrict images deploy only for release jobs (#1796)
38632d21 is described below

commit 38632d2126a062eeb3a78c920b24e4d024130007
Author: Rodrigo Antunes <[email protected]>
AuthorDate: Mon Aug 26 08:07:15 2024 -0300

    Restrict images deploy only for release jobs (#1796)
---
 .ci/jenkins/dsl/jobs.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.ci/jenkins/dsl/jobs.groovy b/.ci/jenkins/dsl/jobs.groovy
index 526ad313..09827dc0 100644
--- a/.ci/jenkins/dsl/jobs.groovy
+++ b/.ci/jenkins/dsl/jobs.groovy
@@ -117,7 +117,7 @@ void setupDeployJob(JobType jobType) {
 
         QUARKUS_PLATFORM_NEXUS_URL: 
Utils.getMavenQuarkusPlatformRepositoryUrl(this),
 
-        DISABLE_IMAGES_DEPLOY: (jobType==JobType.NIGHTLY) ? true : 
Utils.isImagesDeployDisabled(this)
+        DISABLE_IMAGES_DEPLOY: (jobType == JobType.RELEASE) ? true : 
Utils.isImagesDeployDisabled(this)
     ])
     if (Utils.hasBindingValue(this, 'CLOUD_IMAGES')) {
         jobParams.env.put('IMAGES_LIST', Utils.getBindingValue(this, 
'CLOUD_IMAGES'))


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to