Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-58402

On Windows slaves, any call of dependency check tool results in "The input line is too long" error

XMLWordPrintable

      We defined Jenkins Global Tool for dependency-check-5.1.0 with auto install. When executing a job on a Windows slave, the tool gets installed (in folder c:\jenkins-slave\tools\org.jenkinsci.plugins.DependencyCheck.tools.DependencyCheckInstallation\dependency-check-5.1.0), but any call of Dependency Check results in errors:

      [DependencyCheck] The input line is too long.
      [DependencyCheck] The syntax of the command is incorrect.

      This is the case even for simple calls like

      dependencycheck additionalArguments: '--updateonly --data c:/builds/dependency-check-data2', odcInstallation: 'dependency-check-5.1.0'

      Is there any way to see the command line that is built? And more importantly, to get rid of the errors?

       

        1. hudson.log
          38 kB
          Christoph Amshoff

            sspringett Steve Springett
            chamshoff Christoph Amshoff
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: