.ci/downstreamTests.groovy in elastic-apm-2.12.0 vs .ci/downstreamTests.groovy in elastic-apm-3.0.0
- old
+ new
@@ -40,11 +40,10 @@
stages {
/**
Checkout the code and stash it, to use it on other stages.
*/
stage('Checkout') {
- agent { label 'immutable' }
options { skipDefaultCheckout() }
steps {
deleteDir()
gitCheckout(basedir: "${BASE_DIR}",
branch: "${params.BRANCH_SPECIFIER}",
@@ -52,17 +51,15 @@
credentialsId: "${JOB_GIT_CREDENTIALS}")
stash allowEmpty: true, name: 'source', useDefaultExcludes: false
}
}
stage('Test') {
- agent { label 'linux && immutable' }
options { skipDefaultCheckout() }
steps {
runTests('.ci/.jenkins_framework.yml')
}
}
stage('Master Test') {
- agent { label 'linux && immutable' }
options { skipDefaultCheckout() }
steps {
catchError(buildResult: 'SUCCESS', stageResult: 'UNSTABLE', message: "The tests for the master framework have failed. Let's warn instead.") {
runTests('.ci/.jenkins_master_framework.yml')
}