Details
-
Type:
Bug
-
Status: Open (View Workflow)
-
Priority:
Blocker
-
Resolution: Unresolved
-
Component/s: bitbucket-pullrequest-builder-plugin
-
Labels:
-
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
Field | Original Value | New Value |
---|---|---|
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();}} |
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