-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major
-
Component/s: dependency-check-jenkins-plugin
-
None
There is a problem with Dependency Check (1.4.0-1) and Data directory
I defined Data directory to /var/lib/mycorp/cijenka/builder5/nist (aka inside builder agent storage) to ensure all jobs run on this Jenkins slave will use this shared CVE/CPE storage
But DC data directory is not created under /var/lib/mycorp/cijenka/builder5/nist but as var/lib/mycorp/cijenka/builder5/nist in workspace
ie:
http://mysys/view/myprojects/job/myapp/ws/var/lib/mycorp/cijenka/builder5/nist/
... [DependencyCheck] OWASP Dependency-Check Plugin v1.0.4.1 [DependencyCheck] Executing Dependency-Check analysis with the following options: [DependencyCheck] -name = dm_server_trunk-agent [DependencyCheck] -scanPath = /var/lib/mycorp/cijenka/builder5/workspace/dm_server_trunk-agent [DependencyCheck] -outputDirectory = /var/lib/mycorp/cijenka/builder5/workspace/dm_server_trunk-agent [DependencyCheck] -dataDirectory = /var/lib/mycorp/cijenka/builder5/workspace/dm_server_trunk-agent/var/lib/mycorp/cijenka/builder5/nist [DependencyCheck] -verboseLogFile = /var/lib/mycorp/cijenka/builder5/workspace/dm_server_trunk-agent/dependency-check.log [DependencyCheck] -dataMirroringType = NIST CPE/CVE [DependencyCheck] -cveUrl12Modified = http://swf-storage.lab1.lab.ptx.mycorp.int/downloads/nist/nvdcve-modified.xml [DependencyCheck] -cveUrl20Modified = http://swf-storage.lab1.lab.ptx.mycorp.int/downloads/nist/nvdcve-2.0-modified.xml [DependencyCheck] -cveUrl12Base = http://swf-storage.lab1.lab.ptx.mycorp.int/downloads/nist/ [DependencyCheck] -cveUrl20Base = http://swf-storage.lab1.lab.ptx.mycorp.int/downloads/nist/ [DependencyCheck] -showEvidence = false [DependencyCheck] -format = ALL [DependencyCheck] -autoUpdate = true [DependencyCheck] Scanning: /var/lib/mycorp/cijenka/builder5/workspace/dm_server_trunk-agent [DependencyCheck] Analyzing Dependencies
Build is performed on a Jenkins Slave (Unix via SSH) and I get same error when running job on direct server itself