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

CCCC plugin fails on non-default root directory

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • cccc-plugin
    • None
    • Platform: All, OS: All

      I am using Hudson on Windows. My project name is "crackpot" and check out code
      into workspace/crackpot_root_dir. When I specify CCCC metric path as
      crackpot_root_dir/.cccc/cccc.xml or .cccc/cccc.xml, I get:

      Parsing cccc results
      hudson.AbortException: Parsing file error
      at com.thalesgroup.hudson.plugins.cccc.CccccParser.invoke(CccccParser.java:76)
      at com.thalesgroup.hudson.plugins.cccc.CccccParser.invoke(CccccParser.java:50)
      at hudson.FilePath.act(FilePath.java:676)
      at hudson.FilePath.act(FilePath.java:660)
      at com.thalesgroup.hudson.plugins.cccc.CcccPublisher.perform(CcccPublisher.java:83)
      at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:480)
      at
      hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:466)
      at
      hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:454)
      at hudson.model.Build$RunnerImpl.post2(Build.java:146)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:438)
      at hudson.model.Run.run(Run.java:1146)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:123)

        1. cccc.xml
          6 kB
          nicholas_yue
        2. config.xml
          3 kB
          nicholas_yue

            gbois Gregory Boissinot
            in4tunio in4tunio
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: