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

User build variables are not injected on "Before Build" step

    Details

    • Similar Issues:

      Description

      Hello.
      I have 2 triggers in "Editable Email Notification", "Before Bulid" and "Always".
      Both contains the following statement in the subject : BUILD_USER=[${ENV, var="BUILD_USER"}].
      When I run a job, I get two emails notifications.
      The first one is BUILD_USER=[myUname] and the second one is BUILD_USER=[].
      "Before build" trigger doesn't inject the BUILD_USER variable.
      Thank you

        Attachments

          Activity

          Hide
          bluejaguar777 John Tal added a comment -

          +1 for the 1 hour fix

          Show
          bluejaguar777 John Tal added a comment - +1 for the 1 hour fix
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          John Tal Well, you can always propose a pull request. Since there is a fix example, the change is trivial

          Show
          oleg_nenashev Oleg Nenashev added a comment - John Tal Well, you can always propose a pull request. Since there is a fix example, the change is trivial
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          There is also a different fix proposal in https://github.com/jenkinsci/build-user-vars-plugin/pull/10

          Show
          oleg_nenashev Oleg Nenashev added a comment - There is also a different fix proposal in https://github.com/jenkinsci/build-user-vars-plugin/pull/10
          Hide
          iambaskar Baskaran D added a comment -

          When can this be merged? I notice this issue on ver. 1.5 of build-user-vars-plugin, but not on 1.4.

          Currently downgraded it to get it working.

          Show
          iambaskar Baskaran D added a comment - When can this be merged? I notice this issue on ver. 1.5 of build-user-vars-plugin, but not on 1.4. Currently downgraded it to get it working.
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          Hmm, not sure why I am assigned to the issue. I am not a maintainer of this plugin AFAIK. And it's not a regression, downgrade won't help. The fix will get released when the current maintainer does the release or when somebody else takes the plugin ownership

          Show
          oleg_nenashev Oleg Nenashev added a comment - Hmm, not sure why I am assigned to the issue. I am not a maintainer of this plugin AFAIK. And it's not a regression, downgrade won't help. The fix will get released when the current maintainer does the release or when somebody else takes the plugin ownership

            People

            • Assignee:
              Unassigned
              Reporter:
              yevgenys Yevgeny Sergeyev
            • Votes:
              6 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated: