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

BUILD_USER_GROUPS variable not working

XMLWordPrintable

      When trying to use the variable `BUILD_USER_GROUPS` I get the below error message. Though all the other variables listed in the documentation work. 
      hudson.remoting.ProxyException: groovy.lang.MissingPropertyException: No such property: BUILD_USER_GROUPS for class:
       

      This is how I am listing them and all of them print correctly except for `BUILD_USER_GROUPS`

      wrap([$class: 'BuildUser']) {
      echo "${BUILD_USER}"
      echo "${BUILD_USER_ID}"
      echo "${BUILD_USER_EMAIL}"
      echo "${BUILD_USER_GROUPS}"
      }

            zedasvacas Fábio Silva
            crosbymichael1 Michael
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: