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

Rules for warnings, checkstyle, pmd,findbugs, opentasks should ignore if previous build has errors

    XMLWordPrintable

    Details

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

      Description

      If previous build could not compute the number of issues, then the next build
      should not award any points as it is impossible to know if any was added or
      removed.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : redsolo
          Path:
          trunk/hudson/plugins/ci-game/pom.xml
          trunk/hudson/plugins/ci-game/src/main/java/hudson/plugins/cigame/rules/plugins/checkstyle/DefaultCheckstyleRule.java
          trunk/hudson/plugins/ci-game/src/main/java/hudson/plugins/cigame/rules/plugins/findbugs/FixedFindBugsWarningsRule.java
          trunk/hudson/plugins/ci-game/src/main/java/hudson/plugins/cigame/rules/plugins/findbugs/NewFindBugsWarningsRule.java
          trunk/hudson/plugins/ci-game/src/main/java/hudson/plugins/cigame/rules/plugins/opentasks/DefaultOpenTasksRule.java
          trunk/hudson/plugins/ci-game/src/main/java/hudson/plugins/cigame/rules/plugins/pmd/DefaultPmdRule.java
          trunk/hudson/plugins/ci-game/src/main/java/hudson/plugins/cigame/rules/plugins/warnings/DefaultWarningsRule.java
          trunk/hudson/plugins/ci-game/src/test/java/hudson/plugins/cigame/rules/plugins/checkstyle/DefaultCheckstyleRuleTest.java
          trunk/hudson/plugins/ci-game/src/test/java/hudson/plugins/cigame/rules/plugins/findbugs/FixedFindBugsWarningsRuleTest.java
          trunk/hudson/plugins/ci-game/src/test/java/hudson/plugins/cigame/rules/plugins/findbugs/NewFindBugsWarningsRuleTest.java
          trunk/hudson/plugins/ci-game/src/test/java/hudson/plugins/cigame/rules/plugins/opentasks/DefaultOpenTasksRuleTest.java
          trunk/hudson/plugins/ci-game/src/test/java/hudson/plugins/cigame/rules/plugins/pmd/DefaultPmdRuleTest.java
          trunk/hudson/plugins/ci-game/src/test/java/hudson/plugins/cigame/rules/plugins/violation/DefaultViolationRuleIntegrationTest.java
          trunk/hudson/plugins/ci-game/src/test/java/hudson/plugins/cigame/rules/plugins/warnings/DefaultWarningsRuleTest.java
          trunk/hudson/plugins/ci-game/src/test/java/hudson/plugins/cigame/rules/unittesting/IncreasingPassedTestsRuleTest.java
          trunk/hudson/plugins/ci-game/src/test/java/hudson/plugins/cigame/util/Assert.java
          http://fisheye4.cenqua.com/changelog/hudson/?cs=21451
          Log:
          [FIXED JENKINS-4391] - Fixed so no points are awarded for a build if previous build reports has an error.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : redsolo Path: trunk/hudson/plugins/ci-game/pom.xml trunk/hudson/plugins/ci-game/src/main/java/hudson/plugins/cigame/rules/plugins/checkstyle/DefaultCheckstyleRule.java trunk/hudson/plugins/ci-game/src/main/java/hudson/plugins/cigame/rules/plugins/findbugs/FixedFindBugsWarningsRule.java trunk/hudson/plugins/ci-game/src/main/java/hudson/plugins/cigame/rules/plugins/findbugs/NewFindBugsWarningsRule.java trunk/hudson/plugins/ci-game/src/main/java/hudson/plugins/cigame/rules/plugins/opentasks/DefaultOpenTasksRule.java trunk/hudson/plugins/ci-game/src/main/java/hudson/plugins/cigame/rules/plugins/pmd/DefaultPmdRule.java trunk/hudson/plugins/ci-game/src/main/java/hudson/plugins/cigame/rules/plugins/warnings/DefaultWarningsRule.java trunk/hudson/plugins/ci-game/src/test/java/hudson/plugins/cigame/rules/plugins/checkstyle/DefaultCheckstyleRuleTest.java trunk/hudson/plugins/ci-game/src/test/java/hudson/plugins/cigame/rules/plugins/findbugs/FixedFindBugsWarningsRuleTest.java trunk/hudson/plugins/ci-game/src/test/java/hudson/plugins/cigame/rules/plugins/findbugs/NewFindBugsWarningsRuleTest.java trunk/hudson/plugins/ci-game/src/test/java/hudson/plugins/cigame/rules/plugins/opentasks/DefaultOpenTasksRuleTest.java trunk/hudson/plugins/ci-game/src/test/java/hudson/plugins/cigame/rules/plugins/pmd/DefaultPmdRuleTest.java trunk/hudson/plugins/ci-game/src/test/java/hudson/plugins/cigame/rules/plugins/violation/DefaultViolationRuleIntegrationTest.java trunk/hudson/plugins/ci-game/src/test/java/hudson/plugins/cigame/rules/plugins/warnings/DefaultWarningsRuleTest.java trunk/hudson/plugins/ci-game/src/test/java/hudson/plugins/cigame/rules/unittesting/IncreasingPassedTestsRuleTest.java trunk/hudson/plugins/ci-game/src/test/java/hudson/plugins/cigame/util/Assert.java http://fisheye4.cenqua.com/changelog/hudson/?cs=21451 Log: [FIXED JENKINS-4391] - Fixed so no points are awarded for a build if previous build reports has an error.

            People

            • Assignee:
              redsolo redsolo
              Reporter:
              redsolo redsolo
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: