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

Number of scanned files is wrong in m2 mode.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: tasks-plugin
    • Labels:
      None
    • Environment:
      Platform: PC, OS: All
    • Similar Issues:

      Description

      Number of scanned files is wrong in m2 mode. See screenshot.

        Attachments

          Activity

          Hide
          drulli Ulli Hafner added a comment -

          Created an attachment (id=330)
          Wrong result

          Show
          drulli Ulli Hafner added a comment - Created an attachment (id=330) Wrong result
          Hide
          drulli Ulli Hafner added a comment -

          if (subProject.hasAnnotations()) {
          project.addModules(subProject.getModules());
          project.addScannedFiles(subProject.getNumberOfScannedFiles());
          }

          should be

          if (subProject.hasAnnotations()) {
          project.addModules(subProject.getModules());
          }
          project.addScannedFiles(subProject.getNumberOfScannedFiles());

          Show
          drulli Ulli Hafner added a comment - if (subProject.hasAnnotations()) { project.addModules(subProject.getModules()); project.addScannedFiles(subProject.getNumberOfScannedFiles()); } should be if (subProject.hasAnnotations()) { project.addModules(subProject.getModules()); } project.addScannedFiles(subProject.getNumberOfScannedFiles());
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : drulli
          Path:
          trunk/hudson/plugins/tasks/src/main/java/hudson/plugins/tasks/TasksReporter.java
          http://fisheye4.cenqua.com/changelog/hudson/?cs=10971
          Log:
          [FIXED JENKINS-2113] Wrong sum of submodule files in m2 mode.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : drulli Path: trunk/hudson/plugins/tasks/src/main/java/hudson/plugins/tasks/TasksReporter.java http://fisheye4.cenqua.com/changelog/hudson/?cs=10971 Log: [FIXED JENKINS-2113] Wrong sum of submodule files in m2 mode.

            People

            Assignee:
            drulli Ulli Hafner
            Reporter:
            drulli Ulli Hafner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: