-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
O/S: Windows 10 64-bit
JRE: 1.8.0_191
Jenkins: 2.164.3
JUnit Plugin: 1.28
Browser: Chrome 75.0.3770.80 64-bit
Running Jenkins directly as Windows service
Slaves are also running as Windows services
No proxies
This is arguably a feature request, but I opted to make it a bug due to divergence in behavior with Jenkins core.
The Jenkins UrlConsoleAnnotator ignores the closing bracket when translating URL's to hyperlinks from the raw text output of stdout:
The JUnit plugin does not ignore this closing bracket:
This only seems to cause problems when the link ending in a closing bracket is a filename. My use case is that we run Selenium test automation via Jenkins, and our framework outputs screenshots that are stored in the Jenkins workspace to stdout as URL's. We are wrapping the URL's in brackets (e.g. [http://google.com]). This makes it easy to reference the screenshots from the console when troubleshooting. It is easier to look at the output via the testReport view provided by this plugin, but the link is then broken.