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

The SLOCCOUNT analysis Results not available in IVY builds

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • sloccount-plugin
    • None
    • Windows 2008

    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

          ggorman Grace Gorman created issue -
          mixalturek Michal Turek made changes -
          Field Original Value New Value
          Assignee npiguet [ npiguet ] Michal Turek [ mixalturek ]
          mixalturek Michal Turek made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          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.

          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.

          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.
          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.
          mixalturek Michal Turek made changes -
          Fix Version/s current [ 10162 ]
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Resolved [ 5 ]
          mixalturek Michal Turek made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 147854 ] JNJira + In-Review [ 206460 ]

          People

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

            Dates

              Created:
              Updated:
              Resolved: