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

ISS-1378 Make pixee/upload-tool-results-action Sonar Host URL Consistent With Sonar Actions #26

Merged

Conversation

JesusCotlamee
Copy link
Collaborator

@JesusCotlamee JesusCotlamee commented Jun 6, 2024

Updated

  • The input name was changed from sonar-api-url to sonar-host-url to be consistent with Sonar tools.
  • The action was updated to tolerate trailing slashes in the host URL.
  • Documentation and examples were updated.

Evidence

Refs: ISS-1378-make-sonar-host-url-consistent-with-sonar-actions
Refs: ISS-1378-make-sonar-host-url-consistent-with-sonar-actions
Refs: ISS-1378-make-sonar-host-url-consistent-with-sonar-actions
src/sonar.ts Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
…constructed and add 'api' to url

Refs: ISS-1378-make-sonar-host-url-consistent-with-sonar-actions
Refs: ISS-1378-make-sonar-host-url-consistent-with-sonar-actions
Refs: ISS-1378-make-sonar-host-url-consistent-with-sonar-actions
@JesusCotlamee JesusCotlamee requested a review from fjpgtt June 7, 2024 15:39
src/sonar.ts Outdated Show resolved Hide resolved
src/sonar.ts Show resolved Hide resolved
src/sonar.ts Outdated Show resolved Hide resolved
…oud and SonarQube.

Refs: ISS-1378-make-sonar-host-url-consistent-with-sonar-actions
Refs: ISS-1378-make-sonar-host-url-consistent-with-sonar-actions
Refs: ISS-1378-make-sonar-host-url-consistent-with-sonar-actions
@JesusCotlamee JesusCotlamee requested a review from fjpgtt June 7, 2024 19:48
src/sonar.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@gilday gilday left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I messed up the requirements: we need to use the input name sonar-host-url (not sonar-host).

And we should make sure that we handle the case where SonarQube is hosted at some context e.g. https://acme.org/sonarqube/

README.md Outdated Show resolved Hide resolved
action.yml Outdated Show resolved Hide resolved
src/sonar.ts Outdated Show resolved Hide resolved
__tests__/sonar.test.ts Outdated Show resolved Hide resolved
src/sonar.ts Outdated Show resolved Hide resolved
action.yml Outdated Show resolved Hide resolved
Refs: ISS-1378-make-sonar-host-url-consistent-with-sonar-actions
Refs: ISS-1378-make-sonar-host-url-consistent-with-sonar-actions
Refs: ISS-1378-make-sonar-host-url-consistent-with-sonar-actions
Refs: ISS-1378-make-sonar-host-url-consistent-with-sonar-actions
Refs: ISS-1378-make-sonar-host-url-consistent-with-sonar-actions
Refs: ISS-1378-make-sonar-host-url-consistent-with-sonar-actions
@JesusCotlamee JesusCotlamee merged commit c0d4409 into main Jun 12, 2024
1 check passed
@JesusCotlamee JesusCotlamee deleted the ISS-1378-make-onar-host-url-consistent-with-sonar-actions branch June 12, 2024 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants