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
Unknown Object (File)
Sun, Jan 12, 06:27
Unknown Object (File)
Sun, Jan 12, 06:27
Unknown Object (File)
Sun, Jan 12, 02:51
Unknown Object (File)
Thu, Jan 9, 12:36
Unknown Object (File)
Sun, Jan 5, 04:56
Unknown Object (File)
Tue, Dec 31, 09:12
Unknown Object (File)
Mon, Dec 30, 04:38
Unknown Object (File)
Sat, Dec 28, 04:18
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