-
Improvement
-
Resolution: Unresolved
-
Minor
The new sequential stages improvement is awesome and I understand it's meant for use in parallel, but I do have a use case where I am not using it in parallel.
Take this pipeline example for integration tests:
stage('Integration Tests') { options { lock('ci-instrument') } stages { stage('Setup') { agent { label 'ci-instrument' } steps { sh '<setup steps>' } stage('Run Tests') { agent { dockerfile { } } steps { sh 'NOT running on "ci-instrument", but it still needs to be locked" } } stage('Copy results') { .... } } }
This is visualized as
It would be nice to have the Setup, Run Tests, and Copy Test Results stages to be under the Integration Tests stage, either always visible or maybe clicking Integration Tests will pop up the stages under it.
The "Integration Tests" stage in Ilya's example is really a "wrapper" stage that should be displayed as such. It'd be nice if its progress could be shown as the cumulative progress of all of its "child" stages, displayed somewhere above all of the individual stages that fall under it.