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

edu.hm.hafner.analysis.ParsingException: Unable to change directory using...

XMLWordPrintable

      ParsingException is thrown when performing "Post-build Actions: Record compiler warnings and static analysis results". Tool is set to IAR Compiler (C/C++).

      The issue happens after upgrading to version 10.5.2. There are no issues when using Analysis Model API version 10.5.1.

       

      edu.hm.hafner.analysis.ParsingException: Unable to change directory using: .make(?:[\d+])?: Entering directory [`'](?<dir>.)['`] to match ninja: Entering directory `bin/example_project'
      at edu.hm.hafner.analysis.LookaheadParser.extractDirectory(LookaheadParser.java:155)
      at edu.hm.hafner.analysis.LookaheadParser.newMakeDirectory(LookaheadParser.java:92)
      at edu.hm.hafner.analysis.LookaheadParser.handleDirectoryChanges(LookaheadParser.java:121)
      at edu.hm.hafner.analysis.LookaheadParser.parse(LookaheadParser.java:68)
      at edu.hm.hafner.analysis.LookaheadParser.parse(LookaheadParser.java:57)
      at io.jenkins.plugins.analysis.core.model.ReportScanningTool.scanInConsoleLog(ReportScanningTool.java:190)
      at io.jenkins.plugins.analysis.core.model.ReportScanningTool.scan(ReportScanningTool.java:137)
      at io.jenkins.plugins.analysis.core.model.ReportScanningTool.scan(ReportScanningTool.java:129)
      at io.jenkins.plugins.analysis.core.steps.IssuesScanner.scan(IssuesScanner.java:95)
      at io.jenkins.plugins.analysis.core.steps.IssuesRecorder.scanWithTool(IssuesRecorder.java:765)
      at io.jenkins.plugins.analysis.core.steps.IssuesRecorder.record(IssuesRecorder.java:728)
      at io.jenkins.plugins.analysis.core.steps.IssuesRecorder.perform(IssuesRecorder.java:697)
      at io.jenkins.plugins.analysis.core.steps.IssuesRecorder.perform(IssuesRecorder.java:673)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:806)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:755)
      at hudson.model.Build$BuildExecution.post2(Build.java:178)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:699)
      at hudson.model.Run.execute(Run.java:1913)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:99)
      at hudson.model.Executor.run(Executor.java:432)
      Build step 'Record compiler warnings and static analysis results' marked build as failure

            wgates Walter Gates
            martinbp Martin Boye Petersen
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: