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

The custom build name not seen until the job is executing

      Although the buildname is nicely set, when the job begins executing, it is not seen, while the job is pending:

      It would've been a lot nicer otherwise...

          [JENKINS-60067] The custom build name not seen until the job is executing

          If you configure as a post action it won't be but if you set at the beginning or via properties then it should

          Damian Szczepanik added a comment - If you configure as a post action it won't be but if you set at the beginning or via properties then it should

          Mikhail T added a comment - - edited

          I do have both pre- and post- enabled. You can see on my screenshot, that the name of the build #33 is indeed set before the build is over. But the #34, #35, and #36 remain nameless – until the building actually starts.

          Here is the snapshot of the configuration – note both check-boxes:

          Mikhail T added a comment - - edited I do have both pre- and post- enabled. You can see on my screenshot, that the name of the build #33 is indeed set before the build is over. But the #34, #35, and #36 remain nameless – until the building actually starts. Here is the snapshot of the configuration – note both check-boxes:

          Pending means not started AFAIR and then that's why name is not updated. This is quite expected.

          Damian Szczepanik added a comment - Pending means not started AFAIR and then that's why name is not updated. This is quite expected.

          Mikhail T added a comment -

          Yes, "pending" means not started, but why not set the name already? Is it a Jenkins' limitation (no job-specific code is invoked until actual start), or something else?

          Mikhail T added a comment - Yes, "pending" means not started, but why not set the name already? Is it a Jenkins' limitation (no job-specific code is invoked until actual start), or something else?

            dszczepanik Damian Szczepanik
            unitedmarsupials Mikhail T
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: