Remove agent from parallel stages.
This commit is contained in:
parent
5208c6d41a
commit
dec84e20a1
|
@ -14,7 +14,7 @@ pipeline {
|
|||
parallel {
|
||||
stage('Branch A') {
|
||||
agent {
|
||||
label "for-branch-a"
|
||||
label ""
|
||||
}
|
||||
steps {
|
||||
echo "On Branch A"
|
||||
|
@ -22,7 +22,7 @@ pipeline {
|
|||
}
|
||||
stage('Branch B') {
|
||||
agent {
|
||||
label "for-branch-b"
|
||||
label ""
|
||||
}
|
||||
steps {
|
||||
echo "On Branch B"
|
||||
|
@ -30,7 +30,7 @@ pipeline {
|
|||
}
|
||||
stage('Branch C') {
|
||||
agent {
|
||||
label "for-branch-c"
|
||||
label ""
|
||||
}
|
||||
stages {
|
||||
stage('Nested 1') {
|
||||
|
|
Loading…
Reference in New Issue