From 5b0d0c22e6dda38afb741e03d0781bdaf74d4100 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20de=20la=20Pe=C3=B1a?= Date: Tue, 13 Apr 2021 17:48:51 +0200 Subject: [PATCH 1/2] fix: use an agent when building kibana --- .ci/e2eKibana.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/e2eKibana.groovy b/.ci/e2eKibana.groovy index 16c449b494..89ee4c0929 100644 --- a/.ci/e2eKibana.groovy +++ b/.ci/e2eKibana.groovy @@ -3,7 +3,7 @@ @Library('apm@current') _ pipeline { - agent none + agent { label 'ubuntu-20' } environment { REPO = 'kibana' BASE_DIR = "src/github.com/elastic/${env.REPO}" From b4ef61b7ca36431aefd3c7bdaf4f96736b02bc29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20de=20la=20Pe=C3=B1a?= Date: Tue, 13 Apr 2021 18:17:09 +0200 Subject: [PATCH 2/2] chore: move agent to the inner stage --- .ci/e2eKibana.groovy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.ci/e2eKibana.groovy b/.ci/e2eKibana.groovy index 89ee4c0929..f9c833623d 100644 --- a/.ci/e2eKibana.groovy +++ b/.ci/e2eKibana.groovy @@ -3,7 +3,7 @@ @Library('apm@current') _ pipeline { - agent { label 'ubuntu-20' } + agent none environment { REPO = 'kibana' BASE_DIR = "src/github.com/elastic/${env.REPO}" @@ -47,6 +47,7 @@ pipeline { } stages { stage('Process GitHub Event') { + agent { label 'ubuntu-20' } steps { checkPermissions() buildKibanaDockerImage(refspec: getBranch())