Azure DevOps Pipeline cache issue stopping Dependency Check task
The Problem I have posted in the past about caching the National Vulnerability Database (NVD) used by Jeremy Long’s DependencyCheck tool via the associated Azure DevOps task. Today I had an issue that on one pipeline the Azure DevOps task was reporting the following error Starting: Dependency Check ============================================================================== Task : OWASP Dependency Check Description : Dependency Check is a Software Composition Analysis (SCA) tool that attempts to detect publicly disclosed vulnerabilities contained within a project's dependencies. Version : 6.3.0 Author : Dependency Check Help : [More Information](https://github.com/dependency-check/azuredevops) ============================================================================== Starting Dependency Check... Setting report directory to D:\a\1\TestResults\dependency-check Creating report directory at D:\a\1\TestResults\dependency-check Downloading Dependency Check latest installer from GitHub.. Cannot read properties of undefined (reading 'find') ##[error]Cannot read properties of undefined (reading 'find') ##[error]Unhandled error condition detected. Ending Dependency Check... Finishing: Dependency Check The Analysis I tried a few things: ...