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

Nested View Plugin: Worst Status is wrong if a failed job is disabled

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • core, nested-view-plugin
    • None
    • Jenkins 1.399 (upgraded from1.381)
      Nested View Plugin 1.7 (upgraded from 1.5)

    Description

      I have a view (CB) with a couple of build jobs. The view is located in a nested view, which also shows the worst status of the jobs inside that view. All jobs in the CB view are successful (blue) except for one that is disabled (gray). The disabled never build successfully so far. So the last run of the disabled job failed (red). The CB view shows a failed (red) status which is incorrect, because all active jobs are successful.

      I just upgraded from Hudson to Jenkins and also upgraded all plugins (except for CVS) to the newest version. I believe that the CB view was shown with the correct status before, but have no way of proving it anymore.

      Attachments

        Activity

          peter_schuetze peter_schuetze created issue -

          Uploaded screenshoots with the folder status and the job statuses.

          peter_schuetze peter_schuetze added a comment - Uploaded screenshoots with the folder status and the job statuses.
          peter_schuetze peter_schuetze made changes -
          Field Original Value New Value
          Attachment jenkins_CB_folder_icon.jpg [ 20269 ]
          Attachment jenkins_CB_tab.jpg [ 20270 ]

          This issue might be connected with JENKINS-8888.

          peter_schuetze peter_schuetze added a comment - This issue might be connected with JENKINS-8888 .
          mindless Alan Harder made changes -
          Assignee Alan Harder [ mindless ]
          mindless Alan Harder made changes -
          Status Open [ 1 ] In Progress [ 3 ]

          Code changed in jenkins
          User: alanharder
          Path:
          src/main/java/hudson/plugins/nested_view/NestedView.java
          src/test/java/hudson/plugins/nested_view/NestedViewTest.java
          http://jenkins-ci.org/commit/nested-view-plugin/57a8fa192b96e05b737d6c51b4b92701c93dec89
          Log:
          [FIXED JENKINS-8922] skip disabled projects when calculating worst build result in a view

          Compare: https://github.com/jenkinsci/nested-view-plugin/compare/303e646...57a8fa1

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: alanharder Path: src/main/java/hudson/plugins/nested_view/NestedView.java src/test/java/hudson/plugins/nested_view/NestedViewTest.java http://jenkins-ci.org/commit/nested-view-plugin/57a8fa192b96e05b737d6c51b4b92701c93dec89 Log: [FIXED JENKINS-8922] skip disabled projects when calculating worst build result in a view Compare: https://github.com/jenkinsci/nested-view-plugin/compare/303e646...57a8fa1
          scm_issue_link SCM/JIRA link daemon made changes -
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Resolved [ 5 ]
          dogfood dogfood added a comment -

          Integrated in plugins_nested-view #32
          [FIXED JENKINS-8922] skip disabled projects when calculating worst build result in a view

          alanharder :
          Files :

          • src/test/java/hudson/plugins/nested_view/NestedViewTest.java
          • src/main/java/hudson/plugins/nested_view/NestedView.java
          dogfood dogfood added a comment - Integrated in plugins_nested-view #32 [FIXED JENKINS-8922] skip disabled projects when calculating worst build result in a view alanharder : Files : src/test/java/hudson/plugins/nested_view/NestedViewTest.java src/main/java/hudson/plugins/nested_view/NestedView.java
          ctapobep Stanislav Bashkyrtsev made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 139066 ] JNJira + In-Review [ 204924 ]

          People

            mindless Alan Harder
            peter_schuetze peter_schuetze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: