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

Set description during build as a build step

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Allow the description of a build to be set as a normal build step. Setting the description early is useful if you have time consuming builds that can be split into several build steps.

        Attachments

          Activity

          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.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Marco Miller
          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/9f47d84e0c126a49ffed9990763237360629540c
          Log:
          Merge pull request #3 from jonaskaveby/description-setter-builder

          [FIXED JENKINS-23097] Set description during build as a build step.

          Compare: https://github.com/jenkinsci/description-setter-plugin/compare/823db6bcd975...9f47d84e0c12

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Marco Miller 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/9f47d84e0c126a49ffed9990763237360629540c Log: Merge pull request #3 from jonaskaveby/description-setter-builder [FIXED JENKINS-23097] Set description during build as a build step. Compare: https://github.com/jenkinsci/description-setter-plugin/compare/823db6bcd975...9f47d84e0c12

            People

            • Assignee:
              jonaskaveby Jonas Lind
              Reporter:
              jonaskaveby Jonas Lind
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: