adapt to master terminology change
@@ -2750,7 +2750,7 @@ public class PipelineNodeTest extends PipelineBaseTest {
+ " stages {\n"
+ " stage('Pre build') {\n"
+ " agent {\n"
- + " label 'master'\n"
+ + " label '" + j.jenkins.getSelfLabel().getName() + "'\n"
+ " }\n"
+ " steps {\n"
+ " echo 'Pre build steps'\n"
@@ -2760,7 +2760,7 @@ public class PipelineNodeTest extends PipelineBaseTest {
+ " parallel {\n"
+ " stage('Internal') {\n"
+ " agent {\n"
- + " label 'master'\n"
+ + " label '" + j.jenkins.getSelfLabel().getName() + "'\n"
+ " }\n"
+ " stages {\n"
+ " stage('Prep') {\n"
@@ -2777,7 +2777,7 @@ public class PipelineNodeTest extends PipelineBaseTest {
+ " }\n"
+ " stage('Prod') {\n"
+ " agent {\n"
- + " label 'master'\n"
+ + " label '" + j.jenkins.getSelfLabel().getName() + "'\n"
+ " }\n"
+ " stages {\n"
+ " stage('Prep') {\n"
@@ -2796,7 +2796,7 @@ public class PipelineNodeTest extends PipelineBaseTest {
+ " }\n"
+ " stage('Post build') {\n"
+ " agent {\n"
- + " label 'master'\n"
+ + " label '" + j.jenkins.getSelfLabel().getName() + "'\n"
+ " }\n"
+ " steps {\n"
+ " echo 'Post build steps'\n"
