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

Log which build step changed the build result

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Similar Issues:

      Description

      Might be a good idea to log whenever a build step changes the build result.
      Otherwise it's sometimes difficult to find out, why a build was marked as unstable or failure.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Christoph Kutzinski
          Path:
          changelog.html
          core/src/main/java/hudson/model/AbstractBuild.java
          http://jenkins-ci.org/commit/jenkins/a3d138867785a153aca10cfb056e786369678f88
          Log:
          [FIXED JENKINS-9687] log build steps which have changed the build result to console

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Christoph Kutzinski Path: changelog.html core/src/main/java/hudson/model/AbstractBuild.java http://jenkins-ci.org/commit/jenkins/a3d138867785a153aca10cfb056e786369678f88 Log: [FIXED JENKINS-9687] log build steps which have changed the build result to console
          Hide
          dogfood dogfood added a comment -

          Integrated in jenkins_main_trunk #807
          [FIXED JENKINS-9687] log build steps which have changed the build result to console

          Christoph Kutzinski : a3d138867785a153aca10cfb056e786369678f88
          Files :

          • changelog.html
          • core/src/main/java/hudson/model/AbstractBuild.java
          Show
          dogfood dogfood added a comment - Integrated in jenkins_main_trunk #807 [FIXED JENKINS-9687] log build steps which have changed the build result to console Christoph Kutzinski : a3d138867785a153aca10cfb056e786369678f88 Files : changelog.html core/src/main/java/hudson/model/AbstractBuild.java
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Christoph Kutzinski
          Path:
          changelog.html
          core/src/main/java/hudson/model/AbstractBuild.java
          http://jenkins-ci.org/commit/jenkins/a3d138867785a153aca10cfb056e786369678f88
          Log:
          [FIXED JENKINS-9687] log build steps which have changed the build result to console

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Christoph Kutzinski Path: changelog.html core/src/main/java/hudson/model/AbstractBuild.java http://jenkins-ci.org/commit/jenkins/a3d138867785a153aca10cfb056e786369678f88 Log: [FIXED JENKINS-9687] log build steps which have changed the build result to console
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Christoph Kutzinski
          Path:
          changelog.html
          core/src/main/java/hudson/model/AbstractBuild.java
          http://jenkins-ci.org/commit/jenkins/a3d138867785a153aca10cfb056e786369678f88
          Log:
          [FIXED JENKINS-9687] log build steps which have changed the build result to console

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Christoph Kutzinski Path: changelog.html core/src/main/java/hudson/model/AbstractBuild.java http://jenkins-ci.org/commit/jenkins/a3d138867785a153aca10cfb056e786369678f88 Log: [FIXED JENKINS-9687] log build steps which have changed the build result to console
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Jonas Kåveby
          Path:
          pom.xml
          src/main/java/hudson/plugins/descriptionsetter/DescriptionSetterBuilder.java
          src/main/java/hudson/plugins/descriptionsetter/DescriptionSetterHelper.java
          src/main/java/hudson/plugins/descriptionsetter/DescriptionSetterPublisher.java
          src/main/resources/hudson/plugins/descriptionsetter/DescriptionSetterBuilder/config.jelly
          src/main/resources/hudson/plugins/descriptionsetter/DescriptionSetterBuilder/config_ja.properties
          src/main/resources/hudson/plugins/descriptionsetter/DescriptionSetterBuilder/help-description.html
          src/main/resources/hudson/plugins/descriptionsetter/DescriptionSetterBuilder/help-description_ja.html
          src/main/resources/hudson/plugins/descriptionsetter/DescriptionSetterBuilder/help-regexp.html
          src/main/resources/hudson/plugins/descriptionsetter/DescriptionSetterBuilder/help-regexp_ja.html
          src/main/resources/hudson/plugins/descriptionsetter/DescriptionSetterBuilder/help.html
          src/main/resources/hudson/plugins/descriptionsetter/DescriptionSetterBuilder/help_ja.html
          src/test/java/hudson/plugins/descriptionsetter/DescriptionSetterBuilderTest.java
          src/test/java/hudson/plugins/descriptionsetter/DescriptionSetterPublisherTest.java
          src/test/java/hudson/plugins/descriptionsetter/TestBuilder.java
          http://jenkins-ci.org/commit/description-setter-plugin/43a98d9f6d1a7f0df3505769931654da654827f3
          Log:
          [FIXED JENKINS-23097] Set description during build as a build step.

          This change allows the description of a build to be set as a part of
          building. Setting the description early is useful if you have time
          consuming builds.

          Common description setter functionality is extracted to a helper
          class in order to avoid code copy when implementing the new builder.
          The common helper class also properly closes a reader after parsing a
          log file.

          The test builder is moved to a separate class in order to avoid code
          copy when implementing more test classes. The test builder is now
          compatible with jenkins-core 1.414 or later by defining a Descriptor,
          mandatory since JENKINS-9687.

          The parent version is bumped to 1.480.3 in order to compile against
          Java 7.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jonas Kåveby Path: pom.xml src/main/java/hudson/plugins/descriptionsetter/DescriptionSetterBuilder.java src/main/java/hudson/plugins/descriptionsetter/DescriptionSetterHelper.java src/main/java/hudson/plugins/descriptionsetter/DescriptionSetterPublisher.java src/main/resources/hudson/plugins/descriptionsetter/DescriptionSetterBuilder/config.jelly src/main/resources/hudson/plugins/descriptionsetter/DescriptionSetterBuilder/config_ja.properties src/main/resources/hudson/plugins/descriptionsetter/DescriptionSetterBuilder/help-description.html src/main/resources/hudson/plugins/descriptionsetter/DescriptionSetterBuilder/help-description_ja.html src/main/resources/hudson/plugins/descriptionsetter/DescriptionSetterBuilder/help-regexp.html src/main/resources/hudson/plugins/descriptionsetter/DescriptionSetterBuilder/help-regexp_ja.html src/main/resources/hudson/plugins/descriptionsetter/DescriptionSetterBuilder/help.html src/main/resources/hudson/plugins/descriptionsetter/DescriptionSetterBuilder/help_ja.html src/test/java/hudson/plugins/descriptionsetter/DescriptionSetterBuilderTest.java src/test/java/hudson/plugins/descriptionsetter/DescriptionSetterPublisherTest.java src/test/java/hudson/plugins/descriptionsetter/TestBuilder.java http://jenkins-ci.org/commit/description-setter-plugin/43a98d9f6d1a7f0df3505769931654da654827f3 Log: [FIXED JENKINS-23097] Set description during build as a build step. This change allows the description of a build to be set as a part of building. Setting the description early is useful if you have time consuming builds. Common description setter functionality is extracted to a helper class in order to avoid code copy when implementing the new builder. The common helper class also properly closes a reader after parsing a log file. The test builder is moved to a separate class in order to avoid code copy when implementing more test classes. The test builder is now compatible with jenkins-core 1.414 or later by defining a Descriptor, mandatory since JENKINS-9687 . The parent version is bumped to 1.480.3 in order to compile against Java 7.

            People

            Assignee:
            kutzi kutzi
            Reporter:
            kutzi kutzi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: