-
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();}} |