Details

    • Similar Issues:

      Description

      I'd like this plugin to support fallback filters, that can be used to do one of the following things:

      • include all jobs in a view if no jobs have been included by previous filters
      • exclude all jobs from a view if all jobs have been included by previous filters

      An unit tested implementation of this is provided in the attached patch.

      When using filters to only show failing/building jobs on a Build Monitor View, this can be used to show all successful jobs when none are failing/building.

        Attachments

          Activity

          Hide
          davidparsson David Pärsson added a comment - - edited

          The provided patch was committed to the Subversion repository in the commit with revision 41369. The latest release of this plugin is 1.26. This will be included in the next release if it's not reverted before that.

          Show
          davidparsson David Pärsson added a comment - - edited The provided patch was committed to the Subversion repository in the commit with revision 41369. The latest release of this plugin is 1.26. This will be included in the next release if it's not reverted before that.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Jesse Glick
          Path:
          src/main/java/hudson/views/AddRemoveFallbackFilter.java
          src/main/resources/hudson/views/AddRemoveFallbackFilter/config.jelly
          src/main/webapp/add-remove-fallback-help.html
          src/test/java/hudson/views/AddRemoveFallbackFilterTest.java
          http://jenkins-ci.org/commit/view-job-filters-plugin/99b6783faa0e1bef231a90aea2e0ad586b5863fa
          Log:
          Add Fallback Filters. Fixes JENKINS-29747.
          (Originally in svn as r41369 by davidparsson.)

          Compare: https://github.com/jenkinsci/view-job-filters-plugin/compare/c63d2438c05b...99b6783faa0e

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: src/main/java/hudson/views/AddRemoveFallbackFilter.java src/main/resources/hudson/views/AddRemoveFallbackFilter/config.jelly src/main/webapp/add-remove-fallback-help.html src/test/java/hudson/views/AddRemoveFallbackFilterTest.java http://jenkins-ci.org/commit/view-job-filters-plugin/99b6783faa0e1bef231a90aea2e0ad586b5863fa Log: Add Fallback Filters. Fixes JENKINS-29747 . (Originally in svn as r41369 by davidparsson.) Compare: https://github.com/jenkinsci/view-job-filters-plugin/compare/c63d2438c05b...99b6783faa0e
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: davidparsson
          Path:
          src/main/java/hudson/views/AddRemoveFallbackFilter.java
          src/main/resources/hudson/views/AddRemoveFallbackFilter/config.jelly
          src/main/webapp/add-remove-fallback-help.html
          src/test/java/hudson/views/AddRemoveFallbackFilterTest.java
          http://jenkins-ci.org/commit/view-job-filters-plugin/c41ec3fecd716ff8f4e3e6885562aeec35fc1a1a
          Log:
          Add Fallback Filters. Fixes JENKINS-29747.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: davidparsson Path: src/main/java/hudson/views/AddRemoveFallbackFilter.java src/main/resources/hudson/views/AddRemoveFallbackFilter/config.jelly src/main/webapp/add-remove-fallback-help.html src/test/java/hudson/views/AddRemoveFallbackFilterTest.java http://jenkins-ci.org/commit/view-job-filters-plugin/c41ec3fecd716ff8f4e3e6885562aeec35fc1a1a Log: Add Fallback Filters. Fixes JENKINS-29747 .

            People

            • Assignee:
              jacob_robertson Jacob Robertson
              Reporter:
              davidparsson David Pärsson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: