Skip to content

CLI Classpath issue on Windows #2062

@derek126

Description

@derek126

Describe the bug
Out of the box on Windows Server 2016 dependency check Jenkins plugin wont work when installing automatically. Works fine if I install myself and specify the location.

** Version of dependency-check used **
5.10 and 5.0.1 Jenkins plugin

** Log file **
13:28:42 Unpacking https://dl.bintray.com/jeremy-long/owasp/dependency-check-5.1.0-release.zip to E:\Jenkins\tools\org.jenkinsci.plugins.DependencyCheck.tools.DependencyCheckInstallation\dependency-check on Jenkins
13:28:51 [DependencyCheck] The input line is too long.
13:28:51 [DependencyCheck] The syntax of the command is incorrect.
13:28:51 Build step 'Invoke Dependency-Check' changed build result to FAILURE

To Reproduce
Steps to reproduce the behavior:

  1. Install latest Jenkins on Windows with the 5.0.1 plugin.
  2. Select to install dependency check automatically from bin tray,

Expected behavior
I expect the plugin to work correctly and scan my work space with default arguments.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions