diff --git a/Jenkinsfile b/Jenkinsfile index 3e7a5a29edf..e6f064d2b29 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -23,7 +23,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" @@ -99,7 +99,7 @@ pipeline { failFast false parallel { stage('Elastic Agent x-pack'){ - agent { label 'ubuntu && immutable' } + agent { label 'ubuntu-18 && immutable' } options { skipDefaultCheckout() } when { beforeAgent true @@ -143,7 +143,7 @@ pipeline { } } stage('Filebeat oss'){ - agent { label 'ubuntu && immutable' } + agent { label 'ubuntu-18 && immutable' } options { skipDefaultCheckout() } when { beforeAgent true @@ -156,7 +156,7 @@ pipeline { } } stage('Filebeat x-pack'){ - agent { label 'ubuntu && immutable' } + agent { label 'ubuntu-18 && immutable' } options { skipDefaultCheckout() } when { beforeAgent true @@ -231,7 +231,7 @@ pipeline { } } stage('Heartbeat'){ - agent { label 'ubuntu && immutable' } + agent { label 'ubuntu-18 && immutable' } options { skipDefaultCheckout() } when { beforeAgent true @@ -279,7 +279,7 @@ pipeline { } } stage('Auditbeat oss Linux'){ - agent { label 'ubuntu && immutable' } + agent { label 'ubuntu-18 && immutable' } options { skipDefaultCheckout() } when { beforeAgent true @@ -292,7 +292,7 @@ pipeline { } } stage('Auditbeat crosscompile'){ - agent { label 'ubuntu && immutable' } + agent { label 'ubuntu-18 && immutable' } options { skipDefaultCheckout() } when { beforeAgent true @@ -336,7 +336,7 @@ pipeline { } } stage('Auditbeat x-pack'){ - agent { label 'ubuntu && immutable' } + agent { label 'ubuntu-18 && immutable' } options { skipDefaultCheckout() } when { beforeAgent true @@ -375,7 +375,7 @@ pipeline { } } stage('Libbeat'){ - agent { label 'ubuntu && immutable' } + agent { label 'ubuntu-18 && immutable' } options { skipDefaultCheckout() } when { beforeAgent true @@ -402,7 +402,7 @@ pipeline { } } stage('Libbeat x-pack'){ - agent { label 'ubuntu && immutable' } + agent { label 'ubuntu-18 && immutable' } options { skipDefaultCheckout() } when { beforeAgent true @@ -415,7 +415,7 @@ pipeline { } } stage('Metricbeat OSS Unit tests'){ - agent { label 'ubuntu && immutable' } + agent { label 'ubuntu-18 && immutable' } options { skipDefaultCheckout() } when { beforeAgent true @@ -428,7 +428,7 @@ pipeline { } } stage('Metricbeat OSS Go Integration tests'){ - agent { label 'ubuntu && immutable' } + agent { label 'ubuntu-18 && immutable' } options { skipDefaultCheckout() } when { beforeAgent true @@ -441,7 +441,7 @@ pipeline { } } stage('Metricbeat OSS Python Integration tests'){ - agent { label 'ubuntu && immutable' } + agent { label 'ubuntu-18 && immutable' } options { skipDefaultCheckout() } when { beforeAgent true @@ -454,7 +454,7 @@ pipeline { } } stage('Metricbeat x-pack'){ - agent { label 'ubuntu && immutable' } + agent { label 'ubuntu-18 && immutable' } options { skipDefaultCheckout() } when { beforeAgent true @@ -464,7 +464,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', [ @@ -473,7 +473,7 @@ pipeline { } } stage('Metricbeat x-pack'){ - agent { label 'ubuntu && immutable' } + agent { label 'ubuntu-18 && immutable' } options { skipDefaultCheckout() } steps { withCloudTestEnv() { @@ -489,7 +489,7 @@ pipeline { } } stage('Metricbeat crosscompile'){ - agent { label 'ubuntu && immutable' } + agent { label 'ubuntu-18 && immutable' } options { skipDefaultCheckout() } when { beforeAgent true @@ -559,7 +559,7 @@ pipeline { } } stage('Packetbeat OSS'){ - agent { label 'ubuntu && immutable' } + agent { label 'ubuntu-18 && immutable' } options { skipDefaultCheckout() } when { beforeAgent true @@ -607,7 +607,7 @@ pipeline { } } stage('dockerlogbeat'){ - agent { label 'ubuntu && immutable' } + agent { label 'ubuntu-18 && immutable' } options { skipDefaultCheckout() } when { beforeAgent true @@ -624,7 +624,7 @@ pipeline { } } stage('Winlogbeat'){ - agent { label 'ubuntu && immutable' } + agent { label 'ubuntu-18 && immutable' } options { skipDefaultCheckout() } when { beforeAgent true @@ -667,7 +667,7 @@ pipeline { } } stage('Functionbeat'){ - agent { label 'ubuntu && immutable' } + agent { label 'ubuntu-18 && immutable' } options { skipDefaultCheckout() } when { beforeAgent true @@ -718,7 +718,7 @@ pipeline { } } stage('Journalbeat'){ - agent { label 'ubuntu && immutable' } + agent { label 'ubuntu-18 && immutable' } options { skipDefaultCheckout() } when { beforeAgent true @@ -735,7 +735,7 @@ pipeline { } } stage('Generators'){ - agent { label 'ubuntu && immutable' } + agent { label 'ubuntu-18 && immutable' } options { skipDefaultCheckout() } when { beforeAgent true @@ -795,7 +795,7 @@ pipeline { } } stage('Kubernetes'){ - agent { label 'ubuntu && immutable' } + agent { label 'ubuntu-18 && immutable' } options { skipDefaultCheckout() } when { beforeAgent true