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

Should be able to filter out disabled builds

    Details

    • Type: New Feature
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Environment:
      All
    • Similar Issues:

      Description

      Currently, when you disable a build, you cannot filter it out of a view. We have lots of builds, and doing this would be very helpful in clearing the clutter.

        Attachments

          Issue Links

            Activity

            matt203895 matt203895 created issue -
            mindless Alan Harder made changes -
            Field Original Value New Value
            Component/s gui [ 15492 ]
            Component/s viewVC [ 15586 ]
            mindless Alan Harder made changes -
            Link This issue is duplicated by JENKINS-6715 [ JENKINS-6715 ]
            Hide
            mindless Alan Harder added a comment -

            I marked JENKINS-6715 as a duplicate of this.. it is the same, but also requests the ability for "disabled only" (see description of that issue for details).

            Show
            mindless Alan Harder added a comment - I marked JENKINS-6715 as a duplicate of this.. it is the same, but also requests the ability for "disabled only" (see description of that issue for details).
            mindless Alan Harder made changes -
            Assignee mindless [ mindless ]
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in hudson
            User: : mindless
            Path:
            trunk/hudson/main/core/src/main/java/hudson/model/ListView.java
            trunk/hudson/main/core/src/main/resources/hudson/model/ListView/configure-entries.jelly
            trunk/hudson/main/war/resources/help/view-config/statusFilter.html
            trunk/www/changelog.html
            http://jenkins-ci.org/commit/31869
            Log:
            [FIXED JENKINS-6673] Add setting so ListViews may show only enabled or disabled jobs.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : mindless Path: trunk/hudson/main/core/src/main/java/hudson/model/ListView.java trunk/hudson/main/core/src/main/resources/hudson/model/ListView/configure-entries.jelly trunk/hudson/main/war/resources/help/view-config/statusFilter.html trunk/www/changelog.html http://jenkins-ci.org/commit/31869 Log: [FIXED JENKINS-6673] Add setting so ListViews may show only enabled or disabled jobs.
            scm_issue_link SCM/JIRA link daemon made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            msaxer msaxer made changes -
            Link This issue duplicates JENKINS-3417 [ JENKINS-3417 ]
            Hide
            msaxer msaxer added a comment -

            Noted that this duplicates JENKINS-3417 which I created more than a year ago. Glad to see this feature was added. Time to upgrade!

            Show
            msaxer msaxer added a comment - Noted that this duplicates JENKINS-3417 which I created more than a year ago. Glad to see this feature was added. Time to upgrade!
            jglick Jesse Glick made changes -
            Link This issue is duplicated by JENKINS-5593 [ JENKINS-5593 ]
            abayer Andrew Bayer made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            Hide
            dabrahams Dave Abrahams added a comment -

            If this is fixed, where is the UI for the feature? I can't find it anywhere, and I'm updated to 1.500!

            Show
            dabrahams Dave Abrahams added a comment - If this is fixed, where is the UI for the feature? I can't find it anywhere, and I'm updated to 1.500!
            ircbot Jenkins IRC Bot made changes -
            Component/s core [ 15593 ]
            Component/s gui [ 15492 ]
            Hide
            zitrax Daniel Bengtsson added a comment -

            I also had to look for a while so for anyone else with the same issue it can be found at "Edit View" -> "Job Filters" -> "Status Filter" -> "Enabled jobs only".

            The downside for me is that it does not show that anything is hidden, I would like an info line in the bottom saying "N disabled jobs hidden".

            Show
            zitrax Daniel Bengtsson added a comment - I also had to look for a while so for anyone else with the same issue it can be found at "Edit View" -> "Job Filters" -> "Status Filter" -> "Enabled jobs only". The downside for me is that it does not show that anything is hidden, I would like an info line in the bottom saying "N disabled jobs hidden".
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 136768 ] JNJira + In-Review [ 204212 ]
            Hide
            haridsv Hari Dara added a comment -

            There is no way to edit the default "All" view, so unless there is a way to create another view that automatically shows all the enabled jobs, there is no practical use of this feature.

            Show
            haridsv Hari Dara added a comment - There is no way to edit the default "All" view, so unless there is a way to create another view that automatically shows all the enabled jobs, there is no practical use of this feature.
            Hide
            haridsv Hari Dara added a comment -

            Scratch what I said above. I actually found a way to make use of this feature to get Jenkins to show only the enabled jobs by default.

            • Create a new List View, say "All Enabled"
            • Configure the view with the following options
              • Under Status Filter drop down, select Enabled Jobs Only
              • Check Use a regular expression to include jobs into the view
              • Enter .* for Regular expression field.
            • Under Manage Jenkins -> Configure System change the Default View to the above view.
            Show
            haridsv Hari Dara added a comment - Scratch what I said above. I actually found a way to make use of this feature to get Jenkins to show only the enabled jobs by default. Create a new List View, say "All Enabled" Configure the view with the following options Under  Status Filter  drop down, select  Enabled Jobs Only Check  Use a regular expression to include jobs into the view Enter  .*  for Regular expression  field. Under Manage Jenkins -> Configure System change the Default View  to the above view.

              People

              • Assignee:
                mindless Alan Harder
                Reporter:
                matt203895 matt203895
              • Votes:
                1 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: