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

BZ 82984 - Coverity plugin does not take ${workspace} in intermediate directory value.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • coverity-plugin
    • None

      Coverity plugin does not take environment variable as intermediate directory.
      I tried filling ${WORKSPACE}/idir as value to intermediate directory and it filed with follwoing exception.
      FATAL: Error while creating temporary directory for Coverity
      10:10:41 java.lang.RuntimeException: Error while creating temporary directory for Coverity
      10:10:41 at jenkins.plugins.coverity.CoverityLauncherDecorator.decorate(CoverityLauncherDecorator.java:145)
      10:10:41 at hudson.Launcher.decorateFor(Launcher.java:694)
      10:10:41 at jenkins.model.Jenkins.createLauncher(Jenkins.java:1443)
      10:10:41 at hudson.model.AbstractBuild$AbstractBuildExecution.createLauncher(AbstractBuild.java:561)
      10:10:41 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:492)
      10:10:41 at hudson.model.Run.execute(Run.java:1741)
      10:10:41 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      10:10:41 at hudson.model.ResourceController.execute(ResourceController.java:98)
      10:10:41 at hudson.model.Executor.run(Executor.java:410)
      10:10:41 Caused by: java.io.IOException: Failed to mkdirs: ${WORKSPACE}/idir
      10:10:41 at hudson.FilePath.mkdirs(FilePath.java:1191)
      10:10:41 at jenkins.plugins.coverity.CoverityLauncherDecorator.decorate(CoverityLauncherDecorator.java:136)
      10:10:41 ... 8 more
      10:10:41 Finished: FAILURE

            kdang Ken Dang
            prashant_acts Prashant Mishra
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: