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

OWASP DependencyChecker cve.2.9.h2.db still in use after successful build

      We received notice of the OWASP Dependency-Check Plugin and it sounded interesting, so we installed it and gave it a try on a model job.

      In my first attempt at running the plugin, I ran it against an EAR that had no dependencies, just to see what it would do. After completion I updated the configuration to scan a project that actually had dependencies. However, the build could not delete the workspace because one of the files was still in use.

      07:49:17 Deleting project workspace... Cannot delete workspace: java.nio.file.FileSystemException: E:\Jenkins\workspace\Build\Model_Build_JEE_developerIntegration\dependency-check-data\cve.2.9.h2.db: The process cannot access the file because it is being used by another process.
      07:49:23 
      07:49:23 ERROR: Cannot delete workspace: java.nio.file.FileSystemException: E:\Jenkins\workspace\Build\Model_Build_JEE_developerIntegration\dependency-check-data\cve.2.9.h2.db: The process cannot access the file because it is being used by another process.
      07:49:23 
      07:49:23 Files match condition: Matched [0] files
      07:49:23 Run condition [Files match] preventing perform for step [Publish JUnit test result report]
      

      Our server admin took a look at things behind the scenes and has additional debugging information that he will attach shortly.

            sspringett Steve Springett
            avyvyan Allen Vyvyan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: