From f1abca5cc0de723c8313c2fd5d8f215cb79299a5 Mon Sep 17 00:00:00 2001 From: Rodrigo Antunes Date: Fri, 23 Aug 2024 14:51:18 -0300 Subject: [PATCH] Restrict images deploy only for release jobs --- .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 526ad3130..09827dc0a 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'))