Display URL Plugin does not consult with DisplayURLProvider implementations when injecting environment variables

XMLWordPrintable

    • display-url-api 2.3.4

      As a user, I want to override URLs injected by the plugin into environment variables

      There is aĀ DisplayURLProvider#getDefault() API which can be used to retrieve the provider extension defined by the user. There is also aĀ DisplayURLProvider#get() which always returns the default provider instance.

      The second method is used in https://github.com/jenkinsci/display-url-api-plugin/blob/master/src/main/java/org/jenkinsci/plugins/displayurlapi/EnvironmentContributorImpl.javaĀ which contributes environment variables. It means that the provider implementations won't be taken into account.

      Ā 

      This is somewaht related to JENKINS-41919, but it is not reported as defect

            Assignee:
            Olivier Lamy
            Reporter:
            Oleg Nenashev
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: