Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JENKINS-74901] Support for SonarQube branch name and enhanced endpoint validation #182

Open
wants to merge 2 commits into
base: development
Choose a base branch
from

Conversation

NathanHayoun
Copy link

feat: Support for SonarQube branch name and enhanced endpoint validation

  • Added functionality to support SONAR_BRANCH_NAME from environment variables to include branch-specific metrics and issues in SonarQube endpoints.
  • Updated setSonarDetails to dynamically construct URLs with or without the branch parameter.
  • Enhanced tests for SonarQube URLs to validate endpoint structure and prevent regressions.

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

- Added functionality to support  from environment variables to include branch-specific metrics and issues in SonarQube endpoints.
- Updated  to dynamically construct URLs with or without the branch parameter.
- Enhanced tests for SonarQube URLs to validate endpoint structure and prevent regressions.
@NathanHayoun NathanHayoun changed the title Support for SonarQube branch name and enhanced endpoint validation [JENKINS-74901] Support for SonarQube branch name and enhanced endpoint validation Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants