Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visualize Jenkins pipeline or multibranch pipeline jobs

  • I have one Pipeline job for each component in my Jenkins 2.0. All of them consist of many stages (build, UT, IT etc.), so they're working as a pipeline for a component.
  • The components are depending on each other in a specified order, so I used "Build after other projects are built" (I also tried JobFanIn Plugin) to trigger these "mini-pipelines" after each other. This works like a pipeline of "mini pipelines"

I'd like to visualize the relationship between the jobs. For this purpose I've found 2 plugins:

  • Delivery Pipeline Plugin
  • Build Pipeline Plugin

Both introduce a new View type, but none of them supports the "Pipeline" or "Multibranch pipeline" job types (introduced in Jenkins 2.0), these jobs are not visible in the related dropdown list on the view config page.

How can I visualize the relation of these job types? Is there any other plugin which supports these types?

like image 974
Levente Holló Avatar asked Aug 12 '16 08:08

Levente Holló


1 Answers

Thinking about this.

I don't think a visualisation of multi branch pipelines makes sense in the same way it would for a single branch build. The reason is that each bench of a mb pipeline can have a different build configuration. Eg with master triggering a promotion job but branch doing something else or nothing.

Do the best one could do I think is trace an individual build number and it's links. Can't do it at the job level.

like image 108
johnlon Avatar answered Oct 18 '22 13:10

johnlon