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

Option "Set build name after build ends" is not working

XMLWordPrintable

      I wan't to change build name when job ends, but apparently that option isnt working.
      In my scenario build version is generated to txt file during job execution, that's why it needs to be done when job is finished. When I configure plugin to read version from txt file when job ends, I have such job name: *ERROR: ​File ​'version.txt' ​does ​not ​exist*. If I set any other version name (not from file) I see that build name is set immiedetaly after job starts.

      Configuration:
      Option Set Build Name checked.
      Build name field set to any value
      Option Set build name before build starts unchecked
      Option Set build name after build ends checked

      Efect:
      Build name is changed immiedetaly after job starts.

      Jenkins version: 2.32.2
      build-name-setter plugin version: 1.6.5

            Unassigned Unassigned
            dmachaj Dominik Machaj
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: