Comments (3)
@robertredd I cannot reproduce using the following components:
- Jenkins 1.609.1
- SonarQube Jenkins Plugin v2.3
- SonarQube 5.2
- Dependency-Check SonarQube Plugin v1.0.3
In my environment, I'm running Jenkins master node and SonarQube on OSX, and running a Jenkins slave node and corresponding job on a Windows 10 machine.
The analysis properties in the SonarQube Jenkins Plugin are configured as follows:
sonar.projectKey=my-project-key
sonar.projectName=My Project Name
sonar.projectVersion=1.0.0-SNAPSHOT
sonar.sources=./src
sonar.dependencyCheck.reportPath=./reports/dependency-check-report.xml
With this configuration, the Windows 10 slave node running the job correctly finds the dependency-check report, parses it, and populates SonarQube with the results for the given project key.
from dependency-check-sonar-plugin.
Also tested with SonarQube 5.4. Works as expected
from dependency-check-sonar-plugin.
I see what is happening. I do a checkout into a "source" subdir within the workspace. So, relative to that is up a directory to the root of the workspace where the report is located. I changed it to the following and now it's working fine. Thanks for looking into it, your research showed that it must be something I was missing.
sonar.dependencyCheck.reportPath=../dependency-check-report.xml
from dependency-check-sonar-plugin.
Related Issues (20)
- assets section of each release doesnt include .sha256 file HOT 1
- Integrate OWASP plugin with SonarQube from Azure Pipeline
- 9.0.2 of dependency-check plugin throws JSON parsing error with field "CvssV2.confidentialityImpact" HOT 4
- Update dependency-check-maven 9.0.X breaks Sonarqube Vulnerabilities report / JSON-Analysis aborted HOT 9
- NVD Api key config missing HOT 1
- SonarQube (Enterprise EditionVersion 10.3 --build 82913) Content Security Policy blocking the plugin resource HOT 7
- Html report break sonar UI
- Issue with Documentation for 10.2+ HOT 1
- Add "DownloadOnlyWhenRequired" to packaging HOT 2
- Update 5.0.0 Release Notes to Clarify SonarQube Version Compatibility HOT 2
- Pnpm vulnerabilities are not shown in sonarqube HOT 5
- [SonarQube] : Quality gates missing settings HOT 3
- Sonar dependency check multi project setup HOT 2
- Issues and hotspots doesn't include dependency-check vulnerabilities HOT 10
- Release 5.0 not compatible with SonarQube 9.9 LTA HOT 1
- Dependency-Check JSON report does not exists. JSON-Analysis skipped/aborted due to missing report file HOT 3
- Integration with SonarCloud HOT 2
- Not Flagging Hotspots Since Friday. HOT 5
- Dynamic parts of dependency report when opened from SonarQube not working HOT 1
- high_severity_vulns\u0027 does not exist HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dependency-check-sonar-plugin.