Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-36286

Provide generic way to get Link for given Jenkins job name

    XMLWordPrintable

Details

    • 1.0-m11

    Description

      SSE blueocean-event plugin needs to get Link for a given Jenkins job. There should be abstraction in blueocean-rest to provide such Link generation instead of blueocean-event using implementation specific code (PipelineImpl, or PipelineContainerImpl etc.). Related issue: https://issues.jenkins-ci.org/browse/JENKINS-36218.

      Also ... a generic way to get the Organization ID.

      NOTE: blueocean-events/src/main/java/io/jenkins/blueocean/events/BlueMessageEnricher.java should be updated to use these new APIs. Search for TODO comments containing "JENKINS-36286".

      Attachments

        Issue Links

          Activity

            tfennelly Tom FENNELLY added a comment -

            I would say there should be generic ways of getting Blue Ocean rest API URls for all Jenkins domain objects.

            tfennelly Tom FENNELLY added a comment - I would say there should be generic ways of getting Blue Ocean rest API URls for all Jenkins domain objects.
            vivek Vivek Pandey added a comment - PR submitted https://github.com/jenkinsci/blueocean-plugin/pull/321

            People

              vivek Vivek Pandey
              vivek Vivek Pandey
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: