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

Should be able to filter out disabled builds

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • core
    • None
    • All

    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

            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.
            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.
            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.

            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.

            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".

            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".
            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!

            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!
            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!

            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!

            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 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.
            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 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).

            People

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

              Dates

                Created:
                Updated:
                Resolved: