Never mind, I wound up writing an entire batch script directly inside the
Jenkins Global Tool Configuration:
if exist
C:\Jenkins\tools\org.jenkinsci.plugins.DependencyCheck.tools.DependencyCheckInstallation\Dependency_Check\dependency-check\bin\dependency-check.bat
(
echo "Dependency
I'm going to use dependency-check on Jenkins to check a .NET build.
I have added a Dependency-Check installation to Jenkins' Global Tool
Configuration.
I'm using an install from dl.bintray.com.
In my Jenkins Pipeline, I have:
environment {
DEPENDENCY_CHECK = tool name: 'Dependency Check',