-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
Jenkins LTS 2.138.x.x
BO plugins 1.8.2
Issue:
I have a pipeline script with parallel steps and each one has its own input that needs to be approved. Those inputs are not individually approvable when selecting their node icons which means I need to approve them all in order from top to bottom for all the stages to move forward
Steps to reproduce:
Create a new job with the following script
pipeline {
agent none
stages{
stage('Parallel Steps') {
parallel {
stage('BranchA'){
stages{
stage('InputA'){
agent any
input {
message "Should we continue?"
ok "Yes, we should."
}
steps {
echo "Approved A"
}
}
stage('DeployA'){
agent any
steps {
echo "Deploying A"
}
}
}
}
stage('BranchB'){
stages{
stage('InputB'){
agent any
input {
message "Should we continue?"
ok "Yes, we should."
}
steps {
echo "Approved B"
}
}
stage('DeployB'){
agent any
steps {
echo "Deploying B"
}
}
}
}
}
}
}
}
Then run that job in Blue ocean view and try to approve just the B branch.
Expected results:
I would normally expect that I could select the B branch waiting on input and approve just that branch
Workaround:
You have to go to the traditional console output and approve the B branch
- links to