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

The SLOCCOUNT analysis Results not available in IVY builds

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: sloccount-plugin
    • Labels:
      None
    • Environment:
      Windows 2008
    • Similar Issues:

      Description

      The SLOCCOUNT analysis Results option does not appear on builds using the IVY plugin. It does appear on all the other builds. Is it compatible with IVY?

        Attachments

          Activity

          Hide
          mixalturek Michal Turek added a comment -

          Should be fixed in https://github.com/mixalturek/sloccount-plugin/commit/7157fd7ad5d72e17a6d0585c4a3fd1331aa44206.

          The update was NOT fully tested since I have no IVY project. The only thing I tried is that SLOCCount publisher now appears in configuration of IVY job. Grace, can you check the functionality? Thanks.

          Show
          mixalturek Michal Turek added a comment - Should be fixed in https://github.com/mixalturek/sloccount-plugin/commit/7157fd7ad5d72e17a6d0585c4a3fd1331aa44206 . The update was NOT fully tested since I have no IVY project. The only thing I tried is that SLOCCount publisher now appears in configuration of IVY job. Grace, can you check the functionality? Thanks.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Michal Turek
          Path:
          pom.xml
          src/main/java/hudson/plugins/sloccount/SloccountDescriptor.java
          http://jenkins-ci.org/commit/sloccount-plugin/7157fd7ad5d72e17a6d0585c4a3fd1331aa44206
          Log:
          JENKINS-17024 The SLOCCOUNT analysis Results not available in IVY builds

          • SloccountDescriptor.isApplicable() doesn't consider IVY plugin. The method updated to just return true the same as other similar "publisher" plugins (e.g. Warnings).
          • Dependency to Maven plugin can be removed from pom.xml, isApplicable() was the only place where it was referenced.
          • Dependency to FindBugs plugin can be removed, it is nowhere referenced. There are "Remainings from the findbugs plugin have been removed" commits in Git log, this dependency was probably forgotten.
          • The update was NOT fully tested since I have no IVY project. The only thing i tried is that SLOCCount publisher now appears in configuration of IVY job.
          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Michal Turek Path: pom.xml src/main/java/hudson/plugins/sloccount/SloccountDescriptor.java http://jenkins-ci.org/commit/sloccount-plugin/7157fd7ad5d72e17a6d0585c4a3fd1331aa44206 Log: JENKINS-17024 The SLOCCOUNT analysis Results not available in IVY builds SloccountDescriptor.isApplicable() doesn't consider IVY plugin. The method updated to just return true the same as other similar "publisher" plugins (e.g. Warnings). Dependency to Maven plugin can be removed from pom.xml, isApplicable() was the only place where it was referenced. Dependency to FindBugs plugin can be removed, it is nowhere referenced. There are "Remainings from the findbugs plugin have been removed" commits in Git log, this dependency was probably forgotten. The update was NOT fully tested since I have no IVY project. The only thing i tried is that SLOCCount publisher now appears in configuration of IVY job.

            People

            • Assignee:
              mixalturek Michal Turek
              Reporter:
              ggorman Grace Gorman
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: