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

Send Report from build Pipeline to sonarqube #29

Closed
jheinath opened this issue Apr 14, 2020 · 3 comments
Closed

Send Report from build Pipeline to sonarqube #29

jheinath opened this issue Apr 14, 2020 · 3 comments
Labels
question Further information is requested

Comments

@jheinath
Copy link

How do i configure the Extension to send the Reports to my Sonarqube instance that is running the dependency-check Plugin?

@ejohn20
Copy link
Collaborator

ejohn20 commented Apr 15, 2020

My understanding is this:

  1. Use the Azure DevOps extension to generate the XML / JSON results format and archive those results

2)Use either option to send the report to Sonar for processing:

  • Push option: Using a post build task in the Azure DevOps pipeline, invoke the Sonar API to push those results to the Sonar instance
  • Pull option: Use a job on your Sonar instance to pull the report from the Azure DevOps API.

@jeremylong might be able to confirm. I have not used the Sonar integration personally.

@ejohn20 ejohn20 added the question Further information is requested label Jun 9, 2020
@rouke-broersma
Copy link

@ejohn20 To upload the report, you have to add a property with the report path on the sonarqube scan settings. It looks something like this:

  • task: Setup sonarqube scan (with dependency check report path option set)
  • task: build app
  • task: test app
  • task: owasp depenceny check
  • task: Complete sonarqube scan (and upload all reports including owasp)

In order to setup sonarqube to pick up the report, you need to know the location the report will be saved on in the owasp dependency check task.

@ejohn20 ejohn20 closed this as completed Oct 24, 2020
@jheinath
Copy link
Author

jheinath commented Dec 6, 2022

Thanks for clarification! Question answered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants