Uploaded image for project: 'Gradle'
  1. Gradle
  2. GRADLE-2243

findbugs plugin ignores "ignoreFailures" properties

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 1.0-rc-1
    • Fix Version/s: 1.1-rc-1

      Description

      I migrated from milestone-8 to rc-1 and now my build breaks because the findbugs plugin ignores the setting of the ignoreFailure property (we have some timing tests and running with cobertura is much slower than plain junit).

      After quite some fiddling with the source of the plugin, it appears this is due to line 119 in FindBugs.groovy:
      if (findbugsResult.bugCount && !ignoreFailures) {
      it should be
      if (findbugsResult.bugCount && !getIgnoreFailures()) {

      I'm not an expert on gradle, but it appears this property is now part of a convention object which requires different access than before???

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              breskeby René Gröschke (Inactive)
              Reporter:
              forums Gradle Forums
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: