From 65f367747af5609ae4a81d2aea53ba821f22a00f Mon Sep 17 00:00:00 2001 From: Nurlan Moldomurov Date: Fri, 22 Nov 2024 01:52:14 +0300 Subject: [PATCH] PMM-7 fix ova filename for RC --- pmm/v3/pmm3-ovf.groovy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pmm/v3/pmm3-ovf.groovy b/pmm/v3/pmm3-ovf.groovy index cf32149813..cbebd69fdf 100644 --- a/pmm/v3/pmm3-ovf.groovy +++ b/pmm/v3/pmm3-ovf.groovy @@ -31,13 +31,13 @@ pipeline { steps { script { env.PMM_VERSION = '3-dev-latest' + if (params.PMM_BRANCH != 'v3') { + env.PMM_VERSION = '3-dev-' + PMM_BRANCH + } if (params.RELEASE_CANDIDATE == 'yes') { // release branch should be in the format: pmm-3.x.y env.PMM_VERSION = PMM_BRANCH.split('-')[1] } - if (params.PMM_BRANCH != 'v3') { - env.PMM_VERSION = '3-dev-' + PMM_BRANCH - } } withCredentials([string(credentialsId: 'f5415992-e274-45c2-9eb9-59f9e8b90f43', variable: 'DIGITALOCEAN_ACCESS_TOKEN')]) { sh '''