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

Plugin bitbucketpullrequestbuilder can not longer get JenkinsLocationConfiguration

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      The bitbucketpullrequestbuilder plugin uses following code to get the Jenkins url:

      {{JenkinsLocationConfiguration globalConfig = new JenkinsLocationConfiguration();}}
      String rootUrl = globalConfig.getUrl();

       

      This no longer works. It should be:

      {{JenkinsLocationConfiguration globalConfig = JenkinsLocationConfiguration.get();}}
      String rootUrl = globalConfig.getUrl();

       

        Attachments

          Activity

          Hide
          mj_blue Mark Jones added a comment -

          raised a bug on the project in github and am raising a pull request to fix this:

          https://github.com/nishio-dens/bitbucket-pullrequest-builder-plugin/issues/155

          Show
          mj_blue Mark Jones added a comment - raised a bug on the project in github and am raising a pull request to fix this: https://github.com/nishio-dens/bitbucket-pullrequest-builder-plugin/issues/155

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            klooster Richard van der Klooster
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: