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

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

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • build-user-vars-plugin
    • None
    • build-user-vars-plugin 1.1
      jenkins 1.472

      "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.

          [JENKINS-14360] build-user-vars-plugin doesn't work for matrix job

          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.

          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.

          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.

          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.

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

              Created:
              Updated:
              Resolved: