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

Unable to use Build Name Setter Plugin

    Details

    • Type: Bug
    • Status: Reopened (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: build-flow-plugin
    • Labels:
      None
    • Environment:
      build-flow-plugin 0.6, Jenkins 1.480.1
    • Similar Issues:

      Description

      It is very useful to be able to set a build name for parametrized builds using Build Name Setter Plugin. In a build flow job type there is no "Build Environment" section.

      Similar situation with Description Setter Plugin.

        Attachments

          Activity

          Hide
          emszpak Marcin Zajączkowski added a comment -

          Other plugins configurable in a "Build Environment" section are also affected.

          Show
          emszpak Marcin Zajączkowski added a comment - Other plugins configurable in a "Build Environment" section are also affected.
          Hide
          jkeller Jurgen Keller added a comment -

          As a workaround you can use

          build.setDisplayName 'XYZ'

          in the build flow DSL.

          Show
          jkeller Jurgen Keller added a comment - As a workaround you can use build.setDisplayName 'XYZ' in the build flow DSL.
          Hide
          emszpak Marcin Zajączkowski added a comment -

          Nice trick, thanks. I completely forgot this is just a Build object which can be modified programatically.

          Show
          emszpak Marcin Zajączkowski added a comment - Nice trick, thanks. I completely forgot this is just a Build object which can be modified programatically.
          Hide
          stuartrowe Stuart Rowe added a comment -

          using build.setDisplayName('XYZ') doesn't affect the name displayed in the BuildFlow view, is there another workaround for that?

          Show
          stuartrowe Stuart Rowe added a comment - using build.setDisplayName('XYZ') doesn't affect the name displayed in the BuildFlow view, is there another workaround for that?
          Hide
          le0 Lev Mishin added a comment -

          setter build step is available in new plugin version
          https://wiki.jenkins-ci.org/display/JENKINS/Build+Name+Setter+Plugin

          Show
          le0 Lev Mishin added a comment - setter build step is available in new plugin version https://wiki.jenkins-ci.org/display/JENKINS/Build+Name+Setter+Plugin
          Hide
          abeben Adam Beben added a comment -

          There is no build steps avaible in Build Flow job type - Build section is not present at all. The same situation with Build Environment. Thus still cannot set build name in Build Flow job.

          Show
          abeben Adam Beben added a comment - There is no build steps avaible in Build Flow job type - Build section is not present at all. The same situation with Build Environment. Thus still cannot set build name in Build Flow job.

            People

            • Assignee:
              le0 Lev Mishin
              Reporter:
              emszpak Marcin Zajączkowski
            • Votes:
              4 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated: