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

When used as a promotion action, the "Set build description" step is not doing what is expected

    Details

      Description

      When an action of type "Set build description" is used as a promotion step for a build, let's call it BuildJobABC, it doesn't set the build's description.

      Technically speaking, the promotion step doesn't fail. However, it sets the description of the promotion itself instead of setting the description of the build.

      For example, if BuildJobABC has a promotion named PromoABC which is configured with an action of type "Set build description", the result of running PromoABC would be seen in the file "%JENKINS_HOME%\jobs\BuildJobABC\promotions\PromoABC\builds\PromotionId\build.xml" in the field "/hudson.plugins.promoted__builds.Promotion/actions/hudson.plugins.descriptionsetter.DescriptionSetterAction/description".

      The expected behavior is for the promotion step to set the description of the build. This should be visible in the file "%JENKINS_HOME%\jobs\BuildJobABC\builds\BuildId\build.xml"

        Activity

        bogdaniosif bogdaniosif created issue -
        bogdaniosif bogdaniosif made changes -
        Field Original Value New Value
        Description When an action of type "Set build description" is used as a promotion step for a build, let's call it BuildJobABC, it doesn't set the build's description.

        Technically speaking, the promotion step doesn't fail. However, it sets the description of the promotion itself instead of setting the description of the build.

        For example, if BuildJobABC has a promotion named PromoABC which is configured with an action of type "Set build description", the result of running PromoABC would be seen in the file "%JENKINS_HOME%\jobs\BuildJobABC\promotions\PromoABC\builds\_PromotionId_\build.xml" in the field "/hudson.plugins.promoted__builds.Promotion/actions/hudson.plugins.descriptionsetter.DescriptionSetterAction/description".

        The expected behavior is for the promotion step to set the description of the build. This should be visible in the file "%JENKINS_HOME%\jobs\BuildJobABC\builds\_BuildId_\build.xml"
        When an action of type "Set build description" is used as a promotion step for a build, let's call it BuildJobABC, it doesn't set the build's description.

        Technically speaking, the promotion step doesn't fail. However, it sets the description of the promotion itself instead of setting the description of the build.

        For example, if BuildJobABC has a promotion named PromoABC which is configured with an action of type "Set build description", the result of running PromoABC would be seen in the file "%JENKINS_HOME%\jobs\BuildJobABC\promotions\PromoABC\builds\PromotionId\build.xml" in the field "/hudson.plugins.promoted__builds.Promotion/actions/hudson.plugins.descriptionsetter.DescriptionSetterAction/description".

        The expected behavior is for the promotion step to set the description of the build. This should be visible in the file "%JENKINS_HOME%\jobs\BuildJobABC\builds\BuildId\build.xml"
        Hide
        nperrier Nathan Perrier added a comment -

        I have the same issue using 1.441 with Promoted Builds 2.4 and Description Setter 1.8

        Show
        nperrier Nathan Perrier added a comment - I have the same issue using 1.441 with Promoted Builds 2.4 and Description Setter 1.8
        Hide
        tonioska tonioska added a comment -

        Same issue here with Jenkins 1.450, Promoted Builds 2.4 and Jenkins description setter plugin 1.8.

        Show
        tonioska tonioska added a comment - Same issue here with Jenkins 1.450, Promoted Builds 2.4 and Jenkins description setter plugin 1.8.
        pizzaboy13 Bob The Builder Can He Fix It? made changes -
        Priority Minor [ 4 ] Major [ 3 ]
        Component/s description-setter [ 15536 ]
        Hide
        pizzaboy13 Bob The Builder Can He Fix It? added a comment -

        Noticed this too. I added the description setter plugin to the components list and made it a "Major" bug because it has not been noticed at all.

        Show
        pizzaboy13 Bob The Builder Can He Fix It? added a comment - Noticed this too. I added the description setter plugin to the components list and made it a "Major" bug because it has not been noticed at all.

          People

          • Assignee:
            Unassigned
            Reporter:
            bogdaniosif bogdaniosif
          • Votes:
            9 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated: