Closed PP-DanielB closed 2 years ago
I'm worried that this issue will be open-ended.
~I have created a gist with an update to the PipelineGraphApiTest#complexSmokes
test which shows an issue - the graph is wrong when a stage in a parallel block has a child stage.~
stage('Parallel Stage') {
parallel {
stage('Branch A') {
stages {
stage('Nested 1') {
steps {
echo "In stage Nested 1 within Branch A"
}
}
}
}
}
}
~The graph shows the child of Parallel Stage
is Nested 1
and not Branch A
.
https://gist.github.com/timbrown5/d600d63ad819ebc5a85323f8c75fc160~
UPDATE:
I rescind this comment. I think my expectations were the issue - I was expecting the structure to be tree-like, whereas it's graph-like.
I think what is happening is that, as Branch A
doesn't have steps, it gets collapsed.
Sorry for spaming, but is there any demo of using this plugin? I'm aware of this, but it doesn't use parallel stages
Check the core folder, most of them will use parallel e.g the Jenkins project
it’s using an older version of the plugin currently without the recent fixes
Check the core folder, most of them will use parallel e.g the Jenkins project
it’s using an older version of the plugin currently without the recent fixes
Thanks. One more question and I'll leave you alone. Is there any plan to replace or at least make configurable default stage view to with this plugin?
somewhat yes at some point, I'm working on the build page currently.
and there's a prototype at https://jenkins-redesign.herokuapp.com/project which I'm looking at experimenting with in this plugin
Cool. Thanks for info
Version report
Jenkins and plugins versions report:
Reproduction steps
Pipeline script
Based on my real script but simplified: pipeline_script.txt
Results
Expected result:
Blue Ocean
Actual result:
Pipeline Graph