From 5937778a0d11e648b46fbb45bb10eeb42f472480 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20de=20la=20Pe=C3=B1a?= Date: Thu, 26 Aug 2021 07:57:31 +0200 Subject: [PATCH] fix(ci): include complete as supported variant on merges (#27572) * fix(ci): include complete as supported variant on merges * chore: simplify --- Jenkinsfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 47fb6f603e81..3d552c4a4d04 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -456,6 +456,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}")