-
Bug
-
Resolution: Unresolved
-
Blocker
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();
[JENKINS-53331] Plugin bitbucketpullrequestbuilder can not longer get JenkinsLocationConfiguration
Description |
Original:
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();}} |
New:
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();}} |
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