-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Jenkins 2.414.3 / Gerrit Code Review Plugin 0.4.8 / BlueOcean 1.27.8
Hi,
it seems that the link inside BlueOcean which hides behind the small symbol for "Opens Pull Request in a new window" gets assembled wrong.
steps to reproduce:
open a build of a finished job in a multibranch pipeline project, generated by the Gerrit-Code-Review Plugin in the classic view inside Jenkins
switch to blueocean via "Open Blue Ocean"
check the URL of the small rectangular symbol besides the Text "Pull Request:" on the upper left, that url gets generated wrong.
for the sample in the attached Image, the URL which hides behind the rectangle is:
https://mygerritinstance.subdomain.domain.tld/gerrit6301
which most likely should be:
https://mygerritinstance.subdomain.domain.tld/gerrit/c/6301
(gerrit redirects afterwards to the corresponding change in the project)
i don't know if line 120 in src/main/java/jenkins/plugins/gerrit/GerritURI.java is responsible, and what breaks if we try to change that line.
let me know if you need further details,