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

NOT_BUILT & other build status are reported inconsistently

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Environment:
      Jenkins 1.431 Ubuntu 1104 on x86

      Description

      If a build terminates with a NOT_BUILT status it is not reported correctly in a number of places:

      • The tooltip for the grey ball is "Pending" when it should be "Not built".
      • The rss/atom build result feeds report status as "?"
      • Matrix build tooltip reports a pending/queued build as "skipped"
      • The parent matrix build console output does not record the build status for each job. That is useful to get a quick feel for the status of each job and order of execution/completion.
      • NOT_BUILT can be returned as a previous build result when calculating unstable/back to normal build notifications

        Activity

        oldelvet Richard Mortimer created issue -
        Show
        oldelvet Richard Mortimer added a comment - Fixes at https://github.com/jenkinsci/jenkins/pull/245
        Hide
        scm_issue_link SCM/JIRA link daemon added a comment -

        Code changed in jenkins
        User: Richard Mortimer
        Path:
        core/src/main/java/hudson/model/BallColor.java
        core/src/main/java/hudson/model/Result.java
        core/src/main/resources/hudson/model/Messages.properties
        http://jenkins-ci.org/commit/jenkins/eea6d8327b793a897091d843413ae2cb77420133
        Log:
        JENKINS-11013 NOT_BUILT & other build status are reported inconsistently

        The tooltip for the grey ball is "Pending" when it should be "Not built".

        Show
        scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Richard Mortimer Path: core/src/main/java/hudson/model/BallColor.java core/src/main/java/hudson/model/Result.java core/src/main/resources/hudson/model/Messages.properties http://jenkins-ci.org/commit/jenkins/eea6d8327b793a897091d843413ae2cb77420133 Log: JENKINS-11013 NOT_BUILT & other build status are reported inconsistently The tooltip for the grey ball is "Pending" when it should be "Not built".
        Hide
        scm_issue_link SCM/JIRA link daemon added a comment -

        Code changed in jenkins
        User: Richard Mortimer
        Path:
        core/src/main/java/hudson/model/Run.java
        core/src/main/resources/hudson/model/Messages.properties
        http://jenkins-ci.org/commit/jenkins/ab2cd0e4ada339a2d95c24f4214fbabc99edfd75
        Log:
        JENKINS-11013 NOT_BUILT & other build status are reported inconsistently

        The rss/atom build result feeds report status as "?"

        Show
        scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Richard Mortimer Path: core/src/main/java/hudson/model/Run.java core/src/main/resources/hudson/model/Messages.properties http://jenkins-ci.org/commit/jenkins/ab2cd0e4ada339a2d95c24f4214fbabc99edfd75 Log: JENKINS-11013 NOT_BUILT & other build status are reported inconsistently The rss/atom build result feeds report status as "?"
        Hide
        scm_issue_link SCM/JIRA link daemon added a comment -

        Code changed in jenkins
        User: Richard Mortimer
        Path:
        core/src/main/resources/hudson/matrix/MatrixBuild/ajaxMatrix.jelly
        http://jenkins-ci.org/commit/jenkins/c444b42b1478be68b7f025772ed5a109f4107bf0
        Log:
        JENKINS-11013 NOT_BUILT & other build status are reported inconsistently

        Matrix build tooltip reports a pending/queued build as "skipped"

        Show
        scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Richard Mortimer Path: core/src/main/resources/hudson/matrix/MatrixBuild/ajaxMatrix.jelly http://jenkins-ci.org/commit/jenkins/c444b42b1478be68b7f025772ed5a109f4107bf0 Log: JENKINS-11013 NOT_BUILT & other build status are reported inconsistently Matrix build tooltip reports a pending/queued build as "skipped"
        Hide
        scm_issue_link SCM/JIRA link daemon added a comment -

        Code changed in jenkins
        User: Richard Mortimer
        Path:
        core/src/main/java/hudson/matrix/MatrixBuild.java
        core/src/main/resources/hudson/matrix/Messages.properties
        http://jenkins-ci.org/commit/jenkins/fd9d680c7451457dbd26b32e52aef7bc0bd37047
        Log:
        JENKINS-11013 NOT_BUILT & other build status are reported inconsistently

        The parent matrix build console output does not record the build status for
        each job. That is useful to get a quick feel for the status of each job and
        the order of execution/completion.

        Show
        scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Richard Mortimer Path: core/src/main/java/hudson/matrix/MatrixBuild.java core/src/main/resources/hudson/matrix/Messages.properties http://jenkins-ci.org/commit/jenkins/fd9d680c7451457dbd26b32e52aef7bc0bd37047 Log: JENKINS-11013 NOT_BUILT & other build status are reported inconsistently The parent matrix build console output does not record the build status for each job. That is useful to get a quick feel for the status of each job and the order of execution/completion.
        Hide
        scm_issue_link SCM/JIRA link daemon added a comment -

        Code changed in jenkins
        User: Richard Mortimer
        Path:
        core/src/main/java/hudson/tasks/MailSender.java
        http://jenkins-ci.org/commit/jenkins/089440f9d8daaf1086553c7cd57a36def7348a9e
        Log:
        JENKINS-11013 NOT_BUILT & other build status are reported inconsistently

        Do not class a NOT_BUILT result as a completed build when calculating
        unstable/back to normal build transitions. It should be treated in the
        same way as an ABORTED build.

        Show
        scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Richard Mortimer Path: core/src/main/java/hudson/tasks/MailSender.java http://jenkins-ci.org/commit/jenkins/089440f9d8daaf1086553c7cd57a36def7348a9e Log: JENKINS-11013 NOT_BUILT & other build status are reported inconsistently Do not class a NOT_BUILT result as a completed build when calculating unstable/back to normal build transitions. It should be treated in the same way as an ABORTED build.
        Hide
        scm_issue_link SCM/JIRA link daemon added a comment -

        Code changed in jenkins
        User: Richard Mortimer
        Path:
        changelog.html
        http://jenkins-ci.org/commit/jenkins/5f4fdb0b7d5c2cbfd6699fb53cde2fbe2fa260cc
        Log:
        [FIXED JENKINS-11013] NOT_BUILT & other build status are reported inconsistently

        Compare: https://github.com/jenkinsci/jenkins/compare/c2bdbd3...5f4fdb0

        Show
        scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Richard Mortimer Path: changelog.html http://jenkins-ci.org/commit/jenkins/5f4fdb0b7d5c2cbfd6699fb53cde2fbe2fa260cc Log: [FIXED JENKINS-11013] NOT_BUILT & other build status are reported inconsistently Compare: https://github.com/jenkinsci/jenkins/compare/c2bdbd3...5f4fdb0
        scm_issue_link SCM/JIRA link daemon made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        dogfood dogfood added a comment -

        Integrated in jenkins_main_trunk #1150
        JENKINS-11013 NOT_BUILT & other build status are reported inconsistently
        JENKINS-11013 NOT_BUILT & other build status are reported inconsistently
        JENKINS-11013 NOT_BUILT & other build status are reported inconsistently
        JENKINS-11013 NOT_BUILT & other build status are reported inconsistently
        JENKINS-11013 NOT_BUILT & other build status are reported inconsistently
        [FIXED JENKINS-11013] NOT_BUILT & other build status are reported inconsistently

        Kohsuke Kawaguchi : eea6d8327b793a897091d843413ae2cb77420133
        Files :

        • core/src/main/resources/hudson/model/Messages.properties
        • core/src/main/java/hudson/model/BallColor.java
        • core/src/main/java/hudson/model/Result.java

        Kohsuke Kawaguchi : ab2cd0e4ada339a2d95c24f4214fbabc99edfd75
        Files :

        • core/src/main/java/hudson/model/Run.java
        • core/src/main/resources/hudson/model/Messages.properties

        Kohsuke Kawaguchi : c444b42b1478be68b7f025772ed5a109f4107bf0
        Files :

        • core/src/main/resources/hudson/matrix/MatrixBuild/ajaxMatrix.jelly

        Kohsuke Kawaguchi : fd9d680c7451457dbd26b32e52aef7bc0bd37047
        Files :

        • core/src/main/java/hudson/matrix/MatrixBuild.java
        • core/src/main/resources/hudson/matrix/Messages.properties

        Kohsuke Kawaguchi : 089440f9d8daaf1086553c7cd57a36def7348a9e
        Files :

        • core/src/main/java/hudson/tasks/MailSender.java

        Kohsuke Kawaguchi : 5f4fdb0b7d5c2cbfd6699fb53cde2fbe2fa260cc
        Files :

        • changelog.html
        Show
        dogfood dogfood added a comment - Integrated in jenkins_main_trunk #1150 JENKINS-11013 NOT_BUILT & other build status are reported inconsistently JENKINS-11013 NOT_BUILT & other build status are reported inconsistently JENKINS-11013 NOT_BUILT & other build status are reported inconsistently JENKINS-11013 NOT_BUILT & other build status are reported inconsistently JENKINS-11013 NOT_BUILT & other build status are reported inconsistently [FIXED JENKINS-11013] NOT_BUILT & other build status are reported inconsistently Kohsuke Kawaguchi : eea6d8327b793a897091d843413ae2cb77420133 Files : core/src/main/resources/hudson/model/Messages.properties core/src/main/java/hudson/model/BallColor.java core/src/main/java/hudson/model/Result.java Kohsuke Kawaguchi : ab2cd0e4ada339a2d95c24f4214fbabc99edfd75 Files : core/src/main/java/hudson/model/Run.java core/src/main/resources/hudson/model/Messages.properties Kohsuke Kawaguchi : c444b42b1478be68b7f025772ed5a109f4107bf0 Files : core/src/main/resources/hudson/matrix/MatrixBuild/ajaxMatrix.jelly Kohsuke Kawaguchi : fd9d680c7451457dbd26b32e52aef7bc0bd37047 Files : core/src/main/java/hudson/matrix/MatrixBuild.java core/src/main/resources/hudson/matrix/Messages.properties Kohsuke Kawaguchi : 089440f9d8daaf1086553c7cd57a36def7348a9e Files : core/src/main/java/hudson/tasks/MailSender.java Kohsuke Kawaguchi : 5f4fdb0b7d5c2cbfd6699fb53cde2fbe2fa260cc Files : changelog.html
        Hide
        scm_issue_link SCM/JIRA link daemon added a comment -

        Code changed in jenkins
        User: Richard Mortimer
        Path:
        core/src/main/resources/hudson/matrix/MatrixBuild/ajaxMatrix.jelly
        http://jenkins-ci.org/commit/matrix-project-plugin/560968ddfd12403b71ab435f59057270f93d1f56
        Log:
        JENKINS-11013 NOT_BUILT & other build status are reported inconsistently

        Matrix build tooltip reports a pending/queued build as "skipped"

        Originally-Committed-As: c444b42b1478be68b7f025772ed5a109f4107bf0

        Show
        scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Richard Mortimer Path: core/src/main/resources/hudson/matrix/MatrixBuild/ajaxMatrix.jelly http://jenkins-ci.org/commit/matrix-project-plugin/560968ddfd12403b71ab435f59057270f93d1f56 Log: JENKINS-11013 NOT_BUILT & other build status are reported inconsistently Matrix build tooltip reports a pending/queued build as "skipped" Originally-Committed-As: c444b42b1478be68b7f025772ed5a109f4107bf0
        Hide
        scm_issue_link SCM/JIRA link daemon added a comment -

        Code changed in jenkins
        User: Richard Mortimer
        Path:
        core/src/main/java/hudson/matrix/MatrixBuild.java
        core/src/main/resources/hudson/matrix/Messages.properties
        http://jenkins-ci.org/commit/matrix-project-plugin/2ecdf87e4e4820d7571eca36ec1d54b0f5c60782
        Log:
        JENKINS-11013 NOT_BUILT & other build status are reported inconsistently

        The parent matrix build console output does not record the build status for
        each job. That is useful to get a quick feel for the status of each job and
        the order of execution/completion.

        Originally-Committed-As: fd9d680c7451457dbd26b32e52aef7bc0bd37047

        Show
        scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Richard Mortimer Path: core/src/main/java/hudson/matrix/MatrixBuild.java core/src/main/resources/hudson/matrix/Messages.properties http://jenkins-ci.org/commit/matrix-project-plugin/2ecdf87e4e4820d7571eca36ec1d54b0f5c60782 Log: JENKINS-11013 NOT_BUILT & other build status are reported inconsistently The parent matrix build console output does not record the build status for each job. That is useful to get a quick feel for the status of each job and the order of execution/completion. Originally-Committed-As: fd9d680c7451457dbd26b32e52aef7bc0bd37047

          People

          • Assignee:
            oldelvet Richard Mortimer
            Reporter:
            oldelvet Richard Mortimer
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: