New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to hide tasks in stages from pipeline view using Delivery Pip… #169
Conversation
…eline configuration in Job
If there are any job configuration opted for hide task in pipeline, this option overrides and shows all Tasks in pipeline
This fixes the Issue |
Hey @patbos
This is very small modification see if this can fit. |
Hi! Thank you for your PR! I haven't had time to try out the solution yet. If you have a pipeline A -> B -> C and hide B only, and that job fails, how does it look in the UI then? I think it should be obvious in the visualization where the pipeline fails. The UI should be as straight-forward as possible. |
Yeah I too agree with you UI should be straight-forward and clear. Or else we have to consider if any hidden Job failed we have to show in pipeline, in other scenarios it can be hidden. My view regarding the Delivery Pipeline is not just a UI, it became a dashboard in big screens. To keep minimal and providing more information what is happening and where we are the pipeline. With this motive I have taken up this requirement. |
I agree with you, the DPP shines as an information radiator on big screens and I think it's a useful feature. Just thinking what should happen when a hidden job fails. It should be intuitive. |
Ok @tommysdk Any other options let me know. Or else If any one option above is ok will move forward. Thanks. |
I'm really sorry for the slow feedback from us maintainers. For me it is currently really hard to find time at the moment. It is not an ideal situation. I'll see if anyone can give you some input on this feature. |
Ok @tommysdk |
Hi, If I enable delivery pipeline configuration for a job, omit stage and task name but mark the task as hidden, the job will still be visible in the pipeline. If the stage and task names are present and the job is marked as hidden, the stage will still be shown even though no jobs for that stage are visible, which is ambiguous and looks weird. I'm still not convinced about the feature in general as I don't find the visualisation intuitive, if jobs are hidden. I understand the use cases, but I'm afraid it will cause unnecessary confusion if a hidden job fails or if a hidden job has additional logic to it which should be considered from a pipeline point of view. I suggest we continue the discussion in JIRA: https://issues.jenkins-ci.org/browse/JENKINS-26210 |
… config to save when no stage and task defined
Updated UT's for the modified logic
@tommysdk |
@pskumar448 Thank you for the updates. We'll have a look at it next week. |
@tommysdk |
@pskumar448 Again, thank you for your patience. I'm sorry to inform that we have decided to reject this feature request. Please see https://issues.jenkins-ci.org/browse/JENKINS-26210 for further comments. |
@tommysdk |
@tommysdk Don't know what happened at the time of submission this PR and rejected my PR. |
When configuring upstream and downstream jobs, required some jobs to create which are going to handle certain background functionality which are not required in pipeline to visible.
This will work best with when we configure Stages and Tasks. Provided check box to every Job configuration of Delivery Pipeline Configuration whether to show/hide in pipeline.
Example:
View Before
View After