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

No sloccount results in dahsboard tables

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • sloccount-plugin
    • None
    • Master: Jenkins ver. 2.222.1, sloccount v1.24, Java 11.0.7+10-LTS
      Agent: WIndows 10

      Problem

      SLOCCount Results tables in dashboard views show 0 files, 0 lines, etc. even though summary table on main page of job shows cloc results. See attached screenshots.

      Execution

      1. Jenkins pipeline calls bat step to run cloc.pl v 1.82 (http://github.com/AlDanial/cloc) against mixed codebase on Windows 10 VM agent, on ActiveState Perl v5.22
      2. Output from cloc.pl is saved as XML files.
      3. Jenkins pipeline call sloccountPublish step on XML files
      4. Jenkins console displays SLOCCount results on main page of job (see screen captures)

        1. sloc_results_summary.PNG
          23 kB
          Philip Steiner
        2. sloc_results_table.PNG
          9 kB
          Philip Steiner
        3. sloc_trend.PNG
          35 kB
          Philip Steiner

            npiguet npiguet
            psteiner Philip Steiner
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: