Skip to content

Commit fdd652b

Browse files
kuisathaveratmergify-bot
authored andcommitted
[CI]fix: APM Beats Update job (#21005)
* fix: skip default checkout * fix: skip default checkout * fix: force ubuntu-18 nodes * fix: use master for the default checkout (cherry picked from commit 04fae01)
1 parent 410260a commit fdd652b

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.ci/apm-beats-update.groovy

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
@Library('apm@current') _
33

44
pipeline {
5-
agent none
5+
agent { label 'master' }
66
environment {
77
REPO = 'apm-server'
88
BASE_DIR = "src/github.com/elastic/${env.REPO}"
@@ -31,7 +31,7 @@ pipeline {
3131
}
3232
stages {
3333
stage('Filter build') {
34-
agent { label 'ubuntu && immutable' }
34+
agent { label 'ubuntu-18 && immutable' }
3535
when {
3636
beforeAgent true
3737
anyOf {
@@ -53,6 +53,7 @@ pipeline {
5353
Checkout the code and stash it, to use it on other stages.
5454
*/
5555
stage('Checkout') {
56+
options { skipDefaultCheckout() }
5657
steps {
5758
deleteDir()
5859
gitCheckout(basedir: "${BEATS_DIR}", githubNotifyFirstTimeContributor: false)

0 commit comments

Comments
 (0)