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

Not able to use latest dependency check version through Jenkins

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Blocker Blocker
    • None
    • OWASP Dependency-Check Plugin v5.1.1
      Jenkins LTS 2.263.4

      There is something strange going on with Jenkins plugin which gets versions from bintray. It shows mis-spelled versions. It was working fine till v6.1.1. Since version 6.1.2, DependencyCheck has moved from bintray to GitHub and because of that this Jenkins plugin in not usable anymore.  https://github.com/jeremylong/DependencyCheck/releases/tag/v6.1.2

       

      Using any of them results in errors:
      ERROR: Failed to download https://github.com/jeremylong/DependencyCheck/releases/download/version 6.1.4/dependency-check-ersion 6.1.4-release.zip from agent; will retry from master
      at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1800)
      at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
      at hudson.remoting.Channel.call(Channel.java:1001)
      at hudson.FilePath.act(FilePath.java:1157)
      at hudson.FilePath.act(FilePath.java:1146)
      at hudson.FilePath.installIfNecessaryFrom(FilePath.java:1002)
      at hudson.FilePath.installIfNecessaryFrom(FilePath.java:938)
      at hudson.tools.DownloadFromUrlInstaller.performInstallation(DownloadFromUrlInstaller.java:77)
      at org.jenkinsci.plugins.DependencyCheck.tools.DependencyCheckInstaller.performInstallation(DependencyCheckInstaller.java:42)
      at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:69)
      at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:109)
      at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:206)
      at org.jenkinsci.plugins.DependencyCheck.tools.DependencyCheckInstallation.forNode(DependencyCheckInstallation.java:66)
      at org.jenkinsci.plugins.DependencyCheck.DependencyCheckToolBuilder.perform(DependencyCheckToolBuilder.java:139)
      at jenkins.tasks.SimpleBuildStep.perform(SimpleBuildStep.java:123)
      at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:99)
      at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:69)
      at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
      at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      at java.util.concurrent.FutureTask.run(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      java.io.IOException: Server returned HTTP response code: 400 for URL: https://github.com/jeremylong/DependencyCheck/releases/download/version 6.1.4/dependency-check-ersion 6.1.4-release.zip
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
      at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)

            Unassigned Unassigned
            richmond Rich
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: