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
F2826641: D1794.id.diff
Thu, Apr 18, 21:02
Unknown Object (File)
Thu, Apr 18, 17:32
Unknown Object (File)
Mon, Apr 15, 14:27
Unknown Object (File)
Sun, Apr 14, 19:27
Unknown Object (File)
Thu, Apr 11, 14:48
Unknown Object (File)
Wed, Apr 10, 09:46
Unknown Object (File)
Wed, Apr 10, 09:46
Unknown Object (File)
Wed, Apr 10, 09: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