Can you confirm whether https://wiki.jenkins.io/display/JENKINS/Build+User+Vars+Plugin has been installed?
___ONLY_FOR_TRACKING_PURPOSES____ I just tried: as suggested in one of the URLs you posted, and it works like a charm: pipeline { agent any stages { stage('build user') { steps { wrap([$class: 'BuildUser']) { sh 'echo "${BUILD_USER}"' } } } } } With the latest weekly version of the jenkins core (Jenkins ver. 2.119) and the below plugins: ace-editor 1.1 ant 1.8 antisamy-markup-formatter 1.5 apache-httpcomponents-client-4-api 4.5.5-2.0 authentication-tokens 1.3 bouncycastle-api 2.16.2 branch-api 2.0.20 build-timeout 1.19 build-user-vars-plugin 1.5 cloudbees-folder 6.4 command-launcher 1.2 credentials 2.1.16 credentials-binding 1.16 display-url-api 2.2.0 docker-commons 1.11 docker-workflow 1.15.1 durable-task 1.22 email-ext 2.62 git 3.8.0 git-client 2.7.1 git-server 1.7 github 1.29.0 github-api 1.90 github-branch-source 2.3.4 gradle 1.28 handlebars 1.1.1 jackson2-api 2.8.11.1 jdk-tool 1.1 jquery-detached 1.2.1 jsch 0.1.54.2 junit 1.24 ldap 1.20 mailer 1.21 mapdb-api 1.0.9.0 matrix-auth 2.2 matrix-project 1.13 momentjs 1.1.1 pam-auth 1.3 pipeline-build-step 2.7 pipeline-github-lib 1.0 pipeline-graph-analysis 1.6 pipeline-input-step 2.8 pipeline-milestone-step 1.3.1 pipeline-model-api 1.2.9 pipeline-model-declarative-agent 1.1.1 pipeline-model-definition 1.2.9 pipeline-model-extensions 1.2.9 pipeline-rest-api 2.10 pipeline-stage-step 2.3 pipeline-stage-tags-metadata 1.2.9 pipeline-stage-view 2.10 plain-credentials 1.4 resource-disposer 0.8 scm-api 2.2.7 script-security 1.44 ssh-credentials 1.13 ssh-slaves 1.26 structs 1.14 subversion 2.10.5 timestamper 1.8.9 token-macro 2.5 workflow-aggregator 2.5 workflow-api 2.27 workflow-basic-steps 2.7 workflow-cps 2.49 workflow-cps-global-lib 2.9 workflow-durable-task-step 2.19 workflow-job 2.20 workflow-multibranch 2.18 workflow-scm-step 2.6 workflow-step-api 2.14 workflow-support 2.18 ws-cleanup 0.34 Cheers -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/61729794-60db-455f-b711-bc5db7e1de6d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.