Replace hardcoded _class comparison by capability

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • 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.BluePipelineScm

        capability.

            Assignee:
            Vivek Pandey
            Reporter:
            Vivek Pandey
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: