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

Harden SonarQube integration #246

Merged
merged 6 commits into from
Oct 26, 2021
Merged

Harden SonarQube integration #246

merged 6 commits into from
Oct 26, 2021

Conversation

michaelsauter
Copy link
Member

@michaelsauter michaelsauter commented Oct 12, 2021

Closes #227.

FYI @braisvq1996 based on your recent changes :)

Tasks:

  • Updated design documents in docs/design directory or not applicable
  • Updated user-facing documentation in docs directory or not applicable
  • Ran tests (e.g. make test) or not applicable
  • Updated changelog or not applicable

@michaelsauter michaelsauter added the bug Something isn't working label Oct 12, 2021
@michaelsauter michaelsauter added this to the 0.2.0 milestone Oct 12, 2021
@michaelsauter michaelsauter self-assigned this Oct 12, 2021
* Do not generate reports when pull request exists for scanned branch.
For more information, see
opendevstack/ods-jenkins-shared-library#663
and cnescatlab/sonar-cnes-report#159.

* Ensure background task on server finishes before generating a
report. For more information, see
opendevstack/ods-jenkins-shared-library#732.

* Unify logging approach: instead of printing to STDOUT directly for
some messages, funnel everything through the logger instance. Other
tasks should adopt this as well.

Closes #227.
cnes-report is silent on sucess.
The SQ authentication bug fixed in the previous commit was not detected
because the SQ test instance allowed unauthenticated access.
Client methods should not print directly to stdout but use the logger of
the client.
The typo wasn't detected as unauthenticated access to SonarQube was
allowed.
@michaelsauter
Copy link
Member Author

Test failure is unrelated, merging.

@michaelsauter michaelsauter merged commit b94c785 into master Oct 26, 2021
@michaelsauter michaelsauter deleted the fix/cnes-pr branch October 26, 2021 13:11
@michaelsauter michaelsauter modified the milestones: 0.2.0, 0.1.1 Oct 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix SQ integration
1 participant