spotbugs-gradle-plugin icon indicating copy to clipboard operation
spotbugs-gradle-plugin copied to clipboard

Print path of report files instead of their URL, for better multi-platform support

Open KengoTODA opened this issue 2 years ago • 1 comments

Recently we introduced a defect that is caused only on the Windows platform (#614). We had a similar problem (#273) previously. To avoid reproducing these problems, run workflows in PR not only on the Ubuntu platform but also on the Windows platform.

This PR also changes the report path from URL to canonical file path, because, on the Windows platform URL and absolute path may include short paths and it makes functional test unstable.

In URL the Windows platform may use a short path, and it makes the functional test unstable. It is also not useful for users, they need a full path but the printed URL is not.

KengoTODA avatar Feb 05 '22 23:02 KengoTODA

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

sonarcloud[bot] avatar Feb 06 '22 00:02 sonarcloud[bot]