From bce52a4a9d7e57dbed562b1dd76fae21e1fc9500 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Tue, 19 Oct 2021 12:55:01 +0200 Subject: [PATCH] fix(ci): include complete as supported variant on merges (#27572) (#27605) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(ci): include complete as supported variant on merges * chore: simplify (cherry picked from commit 5937778a0d11e648b46fbb45bb10eeb42f472480) Co-authored-by: Manuel de la Peña --- Jenkinsfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 519fc70ddc04..ccb0097481ac 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -458,6 +458,12 @@ def tagAndPush(Map args = [:]) { } // supported image flavours def variants = ["", "-oss", "-ubi8"] + + // only add complete variant for the elastic-agent + if(beatName == 'elastic-agent'){ + variants.add("-complete") + } + variants.each { variant -> tags.each { tag -> doTagAndPush(beatName: beatName, variant: variant, sourceTag: libbetaVer, targetTag: "${tag}-${arch}")