Skip to content
Compare
Choose a tag to compare
@JesusCotlamee JesusCotlamee released this 12 Jun 18:03
· 8 commits to main since this release
4b69b43

🔥 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:

  1. Input Name Change:

    • The input name has been changed from sonar-api-url to sonar-host-url to align with SonarQube's configuration expectations.
  2. 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.

Impact:

  • Users need to update their workflows to use sonar-host-url instead of sonar-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