From a4630c6c177db381f631cf24f0b6d1e1b920e391 Mon Sep 17 00:00:00 2001 From: Ivan Fernandez Calvo Date: Tue, 28 Jul 2020 09:19:13 +0200 Subject: [PATCH] fix: use a fixed worker type for tests (#20130) (#20247) # Conflicts: # Jenkinsfile --- Jenkinsfile | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 43ebb0e042f..282a30c3c40 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -10,7 +10,7 @@ import groovy.transform.Field @Field def stashedTestReports = [:] pipeline { - agent { label 'ubuntu && immutable' } + agent { label 'ubuntu-18 && immutable' } environment { BASE_DIR = 'src/github.com/elastic/beats' GOX_FLAGS = "-arch amd64" @@ -88,7 +88,7 @@ pipeline { failFast false parallel { stage('Elastic Agent x-pack'){ - agent { label 'ubuntu && immutable' } + agent { label 'ubuntu-18 && immutable' } options { skipDefaultCheckout() } when { beforeAgent true @@ -135,7 +135,7 @@ pipeline { } stage('Filebeat oss'){ - agent { label 'ubuntu && immutable' } + agent { label 'ubuntu-18 && immutable' } options { skipDefaultCheckout() } when { beforeAgent true @@ -148,7 +148,7 @@ pipeline { } } stage('Filebeat x-pack'){ - agent { label 'ubuntu && immutable' } + agent { label 'ubuntu-18 && immutable' } options { skipDefaultCheckout() } when { beforeAgent true @@ -223,7 +223,7 @@ pipeline { } } stage('Heartbeat'){ - agent { label 'ubuntu && immutable' } + agent { label 'ubuntu-18 && immutable' } options { skipDefaultCheckout() } when { beforeAgent true @@ -271,7 +271,7 @@ pipeline { } } stage('Auditbeat oss Linux'){ - agent { label 'ubuntu && immutable' } + agent { label 'ubuntu-18 && immutable' } options { skipDefaultCheckout() } when { beforeAgent true @@ -284,7 +284,7 @@ pipeline { } } stage('Auditbeat crosscompile'){ - agent { label 'ubuntu && immutable' } + agent { label 'ubuntu-18 && immutable' } options { skipDefaultCheckout() } when { beforeAgent true @@ -328,7 +328,7 @@ pipeline { } } stage('Auditbeat x-pack'){ - agent { label 'ubuntu && immutable' } + agent { label 'ubuntu-18 && immutable' } options { skipDefaultCheckout() } when { beforeAgent true @@ -367,7 +367,7 @@ pipeline { } } stage('Libbeat'){ - agent { label 'ubuntu && immutable' } + agent { label 'ubuntu-18 && immutable' } options { skipDefaultCheckout() } when { beforeAgent true @@ -394,7 +394,7 @@ pipeline { } } stage('Libbeat x-pack'){ - agent { label 'ubuntu && immutable' } + agent { label 'ubuntu-18 && immutable' } options { skipDefaultCheckout() } when { beforeAgent true @@ -407,7 +407,7 @@ pipeline { } } stage('Metricbeat OSS Unit tests'){ - agent { label 'ubuntu && immutable' } + agent { label 'ubuntu-18 && immutable' } options { skipDefaultCheckout() } when { beforeAgent true @@ -420,7 +420,7 @@ pipeline { } } stage('Metricbeat OSS Integration tests'){ - agent { label 'ubuntu && immutable' } + agent { label 'ubuntu-18 && immutable' } options { skipDefaultCheckout() } when { beforeAgent true @@ -433,7 +433,7 @@ pipeline { } } stage('Metricbeat Python integration tests'){ - agent { label 'ubuntu && immutable' } + agent { label 'ubuntu-18 && immutable' } options { skipDefaultCheckout() } when { beforeAgent true @@ -446,7 +446,7 @@ pipeline { } } stage('Metricbeat x-pack'){ - agent { label 'ubuntu && immutable' } + agent { label 'ubuntu-18 && immutable' } options { skipDefaultCheckout() } when { beforeAgent true @@ -456,7 +456,7 @@ pipeline { } stages { stage('Prepare cloud integration tests environments'){ - agent { label 'ubuntu && immutable' } + agent { label 'ubuntu-18 && immutable' } options { skipDefaultCheckout() } steps { startCloudTestEnv('x-pack-metricbeat', [ @@ -465,7 +465,7 @@ pipeline { } } stage('Metricbeat x-pack'){ - agent { label 'ubuntu && immutable' } + agent { label 'ubuntu-18 && immutable' } options { skipDefaultCheckout() } steps { withCloudTestEnv() { @@ -481,7 +481,7 @@ pipeline { } } stage('Metricbeat crosscompile'){ - agent { label 'ubuntu && immutable' } + agent { label 'ubuntu-18 && immutable' } options { skipDefaultCheckout() } when { beforeAgent true @@ -551,7 +551,7 @@ pipeline { } } stage('Packetbeat'){ - agent { label 'ubuntu && immutable' } + agent { label 'ubuntu-18 && immutable' } options { skipDefaultCheckout() } when { beforeAgent true @@ -568,7 +568,7 @@ pipeline { } } stage('dockerlogbeat'){ - agent { label 'ubuntu && immutable' } + agent { label 'ubuntu-18 && immutable' } options { skipDefaultCheckout() } when { beforeAgent true @@ -585,7 +585,7 @@ pipeline { } } stage('Winlogbeat'){ - agent { label 'ubuntu && immutable' } + agent { label 'ubuntu-18 && immutable' } options { skipDefaultCheckout() } when { beforeAgent true @@ -628,7 +628,7 @@ pipeline { } } stage('Functionbeat'){ - agent { label 'ubuntu && immutable' } + agent { label 'ubuntu-18 && immutable' } options { skipDefaultCheckout() } when { beforeAgent true @@ -679,7 +679,7 @@ pipeline { } } stage('Journalbeat'){ - agent { label 'ubuntu && immutable' } + agent { label 'ubuntu-18 && immutable' } options { skipDefaultCheckout() } when { beforeAgent true @@ -696,7 +696,7 @@ pipeline { } } stage('Generators'){ - agent { label 'ubuntu && immutable' } + agent { label 'ubuntu-18 && immutable' } options { skipDefaultCheckout() } when { beforeAgent true @@ -756,7 +756,7 @@ pipeline { } } stage('Kubernetes'){ - agent { label 'ubuntu && immutable' } + agent { label 'ubuntu-18 && immutable' } options { skipDefaultCheckout() } when { beforeAgent true