-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
Windows
I have a fairly simple pipeline:
parallel 'branch1': { node('node1') { stage('Setup') { checkout([details removed]) } stage('Unit and Integration Tests') { bat '"my command to execute tests"' } } }, 'branch2': { node('node2') { stage('Setup') { checkout([details removed]) } stage('Unit and Integration Tests') { bat '"my command to execute tests"' } } }
It doesn't seem to render the branches properly and the first stage uses the first branch's name.
Please see attachments. The blackouts are the branch names. I also removed the emailext step from the pipeline .
- duplicates
-
JENKINS-39464 Pipeline with parallel and no stages does not get visualised correctly
-
- In Progress
-
Thanks for reporting this problem. It is a duplicate of
JENKINS-39464.The easiest way to avoid this misrendering is to wrap your parallels in a single stage like so:
That will make your Pipeline look like: