-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Major
-
Component/s: blueocean-pipeline-editor-plugin, blueocean-plugin
-
Blue Ocean 1.2-beta4
Pipeline editor has hardcoded check to compare _class from pipeline response with implementation specific class. This means adding any other pipeline type with editing capability will result in to adding more hard coded class. Instead it should use pipeline capability to determine if it supports scm editing and saving.
- This needs capability to be added to pipeline implementation implementing BluePipelineScm, that is to: MultibranchPipelineImpl and OrganizationFolderPipelineImpl.
- Remove hard coded _class comparison from pipeline editor and replace it check for
io.jenkins.blueocean.rest.model.BluePipelineScmcapability.