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

Task scanner plugin only runs after successful build

    XMLWordPrintable

    Details

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

      Description

      Hi,

      i have experienced that the task scanner plugin only reports Open Tasks when the
      build was successfull. However static code analysis does not depend on a
      successfull build so it could be run independent of the build status.

      This would be an enhancement for me.

      Greetings,

      Fred

        Attachments

          Activity

          Hide
          drulli Ulli Hafner added a comment -

          With successful you mean not failed? The plug-in will already scan for tasks in
          unstable builds!

          That makes sense, I already implemented that feature in my warnings plug-in:
          https://hudson.dev.java.net/issues/show_bug.cgi?id=3327.

          I'll apply that patch to the tasks plug-in too.

          Show
          drulli Ulli Hafner added a comment - With successful you mean not failed? The plug-in will already scan for tasks in unstable builds! That makes sense, I already implemented that feature in my warnings plug-in: https://hudson.dev.java.net/issues/show_bug.cgi?id=3327 . I'll apply that patch to the tasks plug-in too.
          Hide
          frederickroth frederickroth added a comment -

          Yes with successful I mean not failed. The TODOS in a failed build are still
          TODOS

          Thanks a lot for the enhancement

          Fred

          Show
          frederickroth frederickroth added a comment - Yes with successful I mean not failed. The TODOS in a failed build are still TODOS Thanks a lot for the enhancement Fred
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : drulli
          Path:
          trunk/hudson/plugins/checkstyle/src/main/java/hudson/plugins/checkstyle/util/HealthAwareMavenReporter.java
          trunk/hudson/plugins/checkstyle/src/main/java/hudson/plugins/checkstyle/util/HealthAwarePublisher.java
          trunk/hudson/plugins/checkstyle/src/main/resources/hudson/plugins/checkstyle/util/failed.jelly
          trunk/hudson/plugins/checkstyle/src/main/resources/hudson/plugins/checkstyle/util/failed.properties
          trunk/hudson/plugins/checkstyle/src/main/resources/hudson/plugins/checkstyle/util/failed_de.properties
          trunk/hudson/plugins/checkstyle/src/main/resources/hudson/plugins/checkstyle/util/failed_ja.properties
          trunk/hudson/plugins/dry/src/main/java/hudson/plugins/dry/util/HealthAwareMavenReporter.java
          trunk/hudson/plugins/dry/src/main/java/hudson/plugins/dry/util/HealthAwarePublisher.java
          trunk/hudson/plugins/dry/src/main/resources/hudson/plugins/dry/util/failed.jelly
          trunk/hudson/plugins/dry/src/main/resources/hudson/plugins/dry/util/failed.properties
          trunk/hudson/plugins/dry/src/main/resources/hudson/plugins/dry/util/failed_de.properties
          trunk/hudson/plugins/dry/src/main/resources/hudson/plugins/dry/util/failed_ja.properties
          trunk/hudson/plugins/findbugs/src/main/java/hudson/plugins/findbugs/util/HealthAwareMavenReporter.java
          trunk/hudson/plugins/findbugs/src/main/java/hudson/plugins/findbugs/util/HealthAwarePublisher.java
          trunk/hudson/plugins/findbugs/src/main/resources/hudson/plugins/findbugs/util/failed.jelly
          trunk/hudson/plugins/findbugs/src/main/resources/hudson/plugins/findbugs/util/failed.properties
          trunk/hudson/plugins/findbugs/src/main/resources/hudson/plugins/findbugs/util/failed_de.properties
          trunk/hudson/plugins/findbugs/src/main/resources/hudson/plugins/findbugs/util/failed_ja.properties
          trunk/hudson/plugins/pmd/src/main/java/hudson/plugins/pmd/util/HealthAwareMavenReporter.java
          trunk/hudson/plugins/pmd/src/main/java/hudson/plugins/pmd/util/HealthAwarePublisher.java
          trunk/hudson/plugins/pmd/src/main/resources/hudson/plugins/pmd/util/failed.jelly
          trunk/hudson/plugins/pmd/src/main/resources/hudson/plugins/pmd/util/failed.properties
          trunk/hudson/plugins/pmd/src/main/resources/hudson/plugins/pmd/util/failed_de.properties
          trunk/hudson/plugins/pmd/src/main/resources/hudson/plugins/pmd/util/failed_ja.properties
          trunk/hudson/plugins/tasks/src/main/java/hudson/plugins/tasks/TasksPublisher.java
          trunk/hudson/plugins/tasks/src/main/java/hudson/plugins/tasks/TasksReporter.java
          trunk/hudson/plugins/tasks/src/main/java/hudson/plugins/tasks/util/HealthAwareMavenReporter.java
          trunk/hudson/plugins/tasks/src/main/java/hudson/plugins/tasks/util/HealthAwarePublisher.java
          trunk/hudson/plugins/tasks/src/main/resources/hudson/plugins/tasks/TasksPublisher/config.jelly
          trunk/hudson/plugins/tasks/src/main/resources/hudson/plugins/tasks/TasksReporter/config.jelly
          trunk/hudson/plugins/tasks/src/main/resources/util/failed.jelly
          trunk/hudson/plugins/tasks/src/main/resources/util/failed.properties
          trunk/hudson/plugins/tasks/src/main/resources/util/failed_de.properties
          trunk/hudson/plugins/tasks/src/main/resources/util/failed_ja.properties
          trunk/hudson/plugins/warnings/src/main/java/hudson/plugins/warnings/util/HealthAwareMavenReporter.java
          trunk/hudson/plugins/warnings/src/main/java/hudson/plugins/warnings/util/HealthAwarePublisher.java
          trunk/hudson/plugins/warnings/src/main/resources/hudson/plugins/warnings/WarningsPublisher/config.jelly
          trunk/hudson/plugins/warnings/src/main/resources/hudson/plugins/warnings/WarningsPublisher/config.properties
          trunk/hudson/plugins/warnings/src/main/resources/hudson/plugins/warnings/WarningsPublisher/config_de.properties
          trunk/hudson/plugins/warnings/src/main/resources/hudson/plugins/warnings/WarningsPublisher/config_ja.properties
          trunk/hudson/plugins/warnings/src/main/resources/hudson/plugins/warnings/util/failed.jelly
          trunk/hudson/plugins/warnings/src/main/resources/hudson/plugins/warnings/util/failed.properties
          trunk/hudson/plugins/warnings/src/main/resources/hudson/plugins/warnings/util/failed_de.properties
          trunk/hudson/plugins/warnings/src/main/resources/hudson/plugins/warnings/util/failed_ja.properties
          http://fisheye4.cenqua.com/changelog/hudson/?cs=19477
          Log:
          [FIXED JENKINS-3794] Added option to run the task scanner for failed builds, too.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : drulli Path: trunk/hudson/plugins/checkstyle/src/main/java/hudson/plugins/checkstyle/util/HealthAwareMavenReporter.java trunk/hudson/plugins/checkstyle/src/main/java/hudson/plugins/checkstyle/util/HealthAwarePublisher.java trunk/hudson/plugins/checkstyle/src/main/resources/hudson/plugins/checkstyle/util/failed.jelly trunk/hudson/plugins/checkstyle/src/main/resources/hudson/plugins/checkstyle/util/failed.properties trunk/hudson/plugins/checkstyle/src/main/resources/hudson/plugins/checkstyle/util/failed_de.properties trunk/hudson/plugins/checkstyle/src/main/resources/hudson/plugins/checkstyle/util/failed_ja.properties trunk/hudson/plugins/dry/src/main/java/hudson/plugins/dry/util/HealthAwareMavenReporter.java trunk/hudson/plugins/dry/src/main/java/hudson/plugins/dry/util/HealthAwarePublisher.java trunk/hudson/plugins/dry/src/main/resources/hudson/plugins/dry/util/failed.jelly trunk/hudson/plugins/dry/src/main/resources/hudson/plugins/dry/util/failed.properties trunk/hudson/plugins/dry/src/main/resources/hudson/plugins/dry/util/failed_de.properties trunk/hudson/plugins/dry/src/main/resources/hudson/plugins/dry/util/failed_ja.properties trunk/hudson/plugins/findbugs/src/main/java/hudson/plugins/findbugs/util/HealthAwareMavenReporter.java trunk/hudson/plugins/findbugs/src/main/java/hudson/plugins/findbugs/util/HealthAwarePublisher.java trunk/hudson/plugins/findbugs/src/main/resources/hudson/plugins/findbugs/util/failed.jelly trunk/hudson/plugins/findbugs/src/main/resources/hudson/plugins/findbugs/util/failed.properties trunk/hudson/plugins/findbugs/src/main/resources/hudson/plugins/findbugs/util/failed_de.properties trunk/hudson/plugins/findbugs/src/main/resources/hudson/plugins/findbugs/util/failed_ja.properties trunk/hudson/plugins/pmd/src/main/java/hudson/plugins/pmd/util/HealthAwareMavenReporter.java trunk/hudson/plugins/pmd/src/main/java/hudson/plugins/pmd/util/HealthAwarePublisher.java trunk/hudson/plugins/pmd/src/main/resources/hudson/plugins/pmd/util/failed.jelly trunk/hudson/plugins/pmd/src/main/resources/hudson/plugins/pmd/util/failed.properties trunk/hudson/plugins/pmd/src/main/resources/hudson/plugins/pmd/util/failed_de.properties trunk/hudson/plugins/pmd/src/main/resources/hudson/plugins/pmd/util/failed_ja.properties trunk/hudson/plugins/tasks/src/main/java/hudson/plugins/tasks/TasksPublisher.java trunk/hudson/plugins/tasks/src/main/java/hudson/plugins/tasks/TasksReporter.java trunk/hudson/plugins/tasks/src/main/java/hudson/plugins/tasks/util/HealthAwareMavenReporter.java trunk/hudson/plugins/tasks/src/main/java/hudson/plugins/tasks/util/HealthAwarePublisher.java trunk/hudson/plugins/tasks/src/main/resources/hudson/plugins/tasks/TasksPublisher/config.jelly trunk/hudson/plugins/tasks/src/main/resources/hudson/plugins/tasks/TasksReporter/config.jelly trunk/hudson/plugins/tasks/src/main/resources/util/failed.jelly trunk/hudson/plugins/tasks/src/main/resources/util/failed.properties trunk/hudson/plugins/tasks/src/main/resources/util/failed_de.properties trunk/hudson/plugins/tasks/src/main/resources/util/failed_ja.properties trunk/hudson/plugins/warnings/src/main/java/hudson/plugins/warnings/util/HealthAwareMavenReporter.java trunk/hudson/plugins/warnings/src/main/java/hudson/plugins/warnings/util/HealthAwarePublisher.java trunk/hudson/plugins/warnings/src/main/resources/hudson/plugins/warnings/WarningsPublisher/config.jelly trunk/hudson/plugins/warnings/src/main/resources/hudson/plugins/warnings/WarningsPublisher/config.properties trunk/hudson/plugins/warnings/src/main/resources/hudson/plugins/warnings/WarningsPublisher/config_de.properties trunk/hudson/plugins/warnings/src/main/resources/hudson/plugins/warnings/WarningsPublisher/config_ja.properties trunk/hudson/plugins/warnings/src/main/resources/hudson/plugins/warnings/util/failed.jelly trunk/hudson/plugins/warnings/src/main/resources/hudson/plugins/warnings/util/failed.properties trunk/hudson/plugins/warnings/src/main/resources/hudson/plugins/warnings/util/failed_de.properties trunk/hudson/plugins/warnings/src/main/resources/hudson/plugins/warnings/util/failed_ja.properties http://fisheye4.cenqua.com/changelog/hudson/?cs=19477 Log: [FIXED JENKINS-3794] Added option to run the task scanner for failed builds, too.

            People

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

              Dates

              Created:
              Updated:
              Resolved: