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)
Wed, Apr 16, 17:21
Unknown Object (File)
Wed, Apr 16, 13:54
Unknown Object (File)
Fri, Apr 11, 09:53
Unknown Object (File)
Thu, Apr 10, 03:26
Unknown Object (File)
Mon, Mar 31, 05:48
Unknown Object (File)
Wed, Mar 19, 13:13
Unknown Object (File)
Mar 16 2025, 02:04
Unknown Object (File)
Mar 14 2025, 13:07
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 Warnings
SeverityLocationCodeMessage
Warningtommy.rb:66Metrics/AbcSizeRuboCop
Warningtommy.rb:66Metrics/MethodLengthRuboCop
Unit
No Test Coverage
Branch
multi-jobs (branched from master)
Build Status
Buildable 2781
Build 3029: arc lint + arc unit