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)
Tue, Jun 25, 08:09
Unknown Object (File)
Sun, Jun 23, 21:01
Unknown Object (File)
Sat, Jun 22, 05:53
Unknown Object (File)
Thu, Jun 20, 15:18
Unknown Object (File)
Tue, Jun 18, 13:49
Unknown Object (File)
Tue, Jun 18, 08:02
Unknown Object (File)
Sun, Jun 16, 20:37
Unknown Object (File)
Sat, Jun 15, 08:57
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