🔥 Breaking Change: SonarQube Host URL Configuration
Summary:
We have updated the sonar-api-url
input to sonar-host-url
to be consistent with SonarQube tooling. This change addresses an inconsistency that caused issues for users, particularly with trailing slashes in the URL. We now use URL building modules to construct URLs, ensuring robustness and compatibility.
Details:
-
Input Name Change:
- The input name has been changed from
sonar-api-url
tosonar-host-url
to align with SonarQube's configuration expectations.
- The input name has been changed from
-
Handling Trailing Slashes:
- Trailing slashes in the
sonar-host-url
are now tolerated. We have switched to using URL building modules instead of string operations to construct URLs, ensuring proper handling of trailing slashes and other edge cases.
- Trailing slashes in the
Impact:
- Users need to update their workflows to use
sonar-host-url
instead ofsonar-api-url
. - This change is considered a breaking change and requires users to update to the latest version of the action.
Example:
steps:
- name: Run SonarCloud Analysis
uses: pixee/upload-tool-results-action@v2
with:
sonar-host-url: ${{ vars.SONAR_HOST_URL }}
# other inputs
What's Changed
- 📝 Document SonarQube Integration by @gilday in #25
- ISS-1378 Make pixee/upload-tool-results-action Sonar Host URL Consistent With Sonar Actions by @JesusCotlamee in #26
Full Changelog: https://github.com/pixee/upload-tool-results-action/commits/v2.0.0