@@ -11,7 +11,7 @@ it is need as field to store the results of the tests.
1111@Field def pythonTasksGen
1212
1313pipeline {
14- agent any
14+ agent { label ' linux && immutable ' }
1515 environment {
1616 REPO = ' apm-agent-python'
1717 BASE_DIR = " src/github.com/elastic/${ env.REPO} "
@@ -40,7 +40,6 @@ pipeline {
4040 }
4141 stages {
4242 stage(' Initializing' ){
43- agent { label ' docker && linux && immutable' }
4443 options { skipDefaultCheckout() }
4544 environment {
4645 HOME = " ${ env.WORKSPACE} "
@@ -87,7 +86,6 @@ pipeline {
8786 Execute unit tests.
8887 */
8988 stage(' Test' ) {
90- agent { label ' linux && immutable' }
9189 options { skipDefaultCheckout() }
9290 steps {
9391 withGithubNotify(context : ' Test' , tab : ' tests' ) {
@@ -113,7 +111,6 @@ pipeline {
113111 }
114112 }
115113 stage(' Building packages' ) {
116- agent { label ' docker && linux && immutable' }
117114 options { skipDefaultCheckout() }
118115 environment {
119116 HOME = " ${ env.WORKSPACE} "
@@ -155,7 +152,6 @@ pipeline {
155152 }
156153 }
157154 stage(' Release' ) {
158- agent { label ' linux && immutable' }
159155 options { skipDefaultCheckout() }
160156 environment {
161157 HOME = " ${ env.WORKSPACE} "
0 commit comments