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

Dependency-Check with a Version-Number x.x.0 is not allowed

XMLWordPrintable

      With update the plugin from 5.4.0 to 5.4.1 the pipeline-job ends with:
      java.lang.IllegalArgumentException: Invalid version string: '8.1.0'
      at java.base/java.lang.Runtime$Version.parse(Runtime.java:1033)
      at org.jenkinsci.plugins.DependencyCheck.DependencyCheckToolBuilder.isSuccess(DependencyCheckToolBuilder.java:180)
      at org.jenkinsci.plugins.DependencyCheck.DependencyCheckToolBuilder.perform(DependencyCheckToolBuilder.java:165)
      Because the java.lang.Runtime$Version.parse not allow a Version with 0 as last Number.

      The format is:

       [1-9][0-9]((\.0)\.[1-9][0-9])

      so Version 8.3.1 is allowed but 8.4.0 ist not allowed.

            nfalco Nikolas Falco
            peter_wolf Peter Wolf
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: