-
Bug
-
Resolution: Unresolved
-
Major
-
None
Since the development of blue ocean has been stopped I would like to have the classic url returned in the display url api plugin so as a consequence I also have the link to the classic view in Bitbucket when updating the build result.
Note: There seems to be a workaround as suggested in this issue (hence not tested by me yet)
It is possible to set the used provider via property or environment variable. The provider you should use is org.jenkinsci.plugins.displayurlapi.ClassicDisplayURLProvider. See https://github.com/jenkinsci/display-url-api-plugin/blob/master/src/main/java/org/jenkinsci/plugins/displayurlapi/DisplayURLProvider.java#L158-L159 Hence, under debian you can set the property in /etc/default/jenkins with JAVA_ARGS="-Djenkins.displayurl.provider=org.jenkinsci.plugins.displayurlapi.ClassicDisplayURLProvider"