From 180790a193f80d04c5facdcde2681611f9126b35 Mon Sep 17 00:00:00 2001 From: Ivan Fernandez Calvo Date: Thu, 2 Jul 2020 19:47:38 +0200 Subject: [PATCH] ci: user fixed type of agent --- .ci/build-docker-images.groovy | 2 +- .ci/jobs/build-it-docker-images.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.ci/build-docker-images.groovy b/.ci/build-docker-images.groovy index f093acba52c..417e2fefae4 100644 --- a/.ci/build-docker-images.groovy +++ b/.ci/build-docker-images.groovy @@ -3,7 +3,7 @@ @Library('apm@current') _ pipeline { - agent { label 'linux && immutable' } + agent { label 'ubuntu-16 && immutable' } environment { REPO = 'beats' BASE_DIR = "src/github.com/elastic/${env.REPO}" diff --git a/.ci/jobs/build-it-docker-images.yml b/.ci/jobs/build-it-docker-images.yml index ac51519e183..79a14779e6e 100644 --- a/.ci/jobs/build-it-docker-images.yml +++ b/.ci/jobs/build-it-docker-images.yml @@ -15,6 +15,7 @@ scm: - git: url: git@github.com:elastic/beats.git + refspec: +refs/heads/*:refs/remotes/origin/* +refs/pull/*/head:refs/remotes/origin/pr/* wipe-workspace: true name: origin shallow-clone: true