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

build-user-vars-plugin doesn't work for matrix job

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: build-user-vars-plugin
    • Labels:
      None
    • Environment:
      build-user-vars-plugin 1.1
      jenkins 1.472
    • Similar Issues:

      Description

      "Jenkins user build vars plugin" works as documented in a freestyle job, but does not populate the user variables in a matrix job.

      echo $BUILD_USER – full name of user started build,
      echo $BUILD_USER_FIRST_NAME – first name of user started build,
      echo $BUILD_USER_LAST_NAME – last name of user started build,
      echo $BUILD_USER_ID – id of user started build.

        Attachments

          Issue Links

            Activity

            Hide
            sodabrew Aaron Stone added a comment -

            I'm trying to use build user vars from the post-build steps of a matrix job. I'm probably affected by JENKINS-14360 more than the bug I reported.

            Show
            sodabrew Aaron Stone added a comment - I'm trying to use build user vars from the post-build steps of a matrix job. I'm probably affected by JENKINS-14360 more than the bug I reported.
            Hide
            sodabrew Aaron Stone added a comment -

            This fix may come for free if build-user-vars is an extension of EnvInject. Likewise for started_by. Also, man, just merge these duplicate extensions.

            Show
            sodabrew Aaron Stone added a comment - This fix may come for free if build-user-vars is an extension of EnvInject. Likewise for started_by. Also, man, just merge these duplicate extensions.

              People

              • Assignee:
                Unassigned
                Reporter:
                trbaker Trevor Baker
              • Votes:
                2 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: