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

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core, nested-view-plugin
    • Labels:
      None
    • Environment:
      Jenkins 1.399 (upgraded from1.381)
      Nested View Plugin 1.7 (upgraded from 1.5)
    • Similar Issues:

      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

          Hide
          peter_schuetze peter_schuetze added a comment -

          Uploaded screenshoots with the folder status and the job statuses.

          Show
          peter_schuetze peter_schuetze added a comment - Uploaded screenshoots with the folder status and the job statuses.
          Hide
          peter_schuetze peter_schuetze added a comment -

          This issue might be connected with JENKINS-8888.

          Show
          peter_schuetze peter_schuetze added a comment - This issue might be connected with JENKINS-8888 .
          Hide
          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

          Show
          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
          Hide
          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
          Show
          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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: