Page MenuHomeDevCentral

Add support for Jenkins 2.0 multi-branch pipelines
ClosedPublic

Authored by dereckson on Sep 21 2018, 17:38.
Tags
None
Referenced Files
F57152121: D1794.id4547.diff
Sun, Nov 15, 09:46
F57152115: D1794.id4546.diff
Sun, Nov 15, 09:46
F57152104: D1794.id.diff
Sun, Nov 15, 09:46
F57061468: D1794.diff
Fri, Nov 13, 23:52
F56981837: D1794.diff
Thu, Nov 12, 09:23
F56748941: D1794.id4546.diff
Sun, Nov 8, 23:10
F56741199: D1794.id4547.diff
Sun, Nov 8, 20:51
F56653533: D1794.diff
Sun, Nov 8, 00:46
Subscribers
None

Details

Summary

Jenkins 2.0 added projects with automatic discovery of Jenkinsfile.

This pipeline-as-code syntax is aware of Git branches, and as such,
jobs are created for each branch discovered by Jenkins or configured.

Such projects don't currently appear on the dashboard, as the root
project is only a container object, where actual projects is in the
jobs property.

This change requires a deeper JSON document and parse sub-projects.

Fixes T1141.

Test Plan

Run server for Nasqueron CD

Diff Detail

Repository
rTOMMY Tommy
Lint
Lint Not Applicable
Unit
Tests Not Applicable