diff options
author | Grzegorz Bizon <grzegorz@gitlab.com> | 2017-08-31 10:03:07 +0000 |
---|---|---|
committer | Grzegorz Bizon <grzegorz@gitlab.com> | 2017-08-31 10:03:07 +0000 |
commit | 896e5f50317608b274fb0d731745070808a67b39 (patch) | |
tree | 7280ba47d9db046d9ea1c717a75828f45fd6a9ae /app | |
parent | bf51ab887b92275d0e5b51c53889664f8c8db745 (diff) | |
parent | 22d5cca8a7afe69000faac6e9011f6662f610123 (diff) | |
download | gitlab-ce-896e5f50317608b274fb0d731745070808a67b39.tar.gz |
Merge branch '26692-predefined-variable-gitlab-user-name' into 'master'
Resolve "Predefined Variable GITLAB_USER_NAME"
Closes #26692
See merge request !13824
Diffstat (limited to 'app')
-rw-r--r-- | app/models/ci/build.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/models/ci/build.rb b/app/models/ci/build.rb index 095192e9894..8adaafe6439 100644 --- a/app/models/ci/build.rb +++ b/app/models/ci/build.rb @@ -387,7 +387,9 @@ module Ci [ { key: 'GITLAB_USER_ID', value: user.id.to_s, public: true }, - { key: 'GITLAB_USER_EMAIL', value: user.email, public: true } + { key: 'GITLAB_USER_EMAIL', value: user.email, public: true }, + { key: 'GITLAB_USER_LOGIN', value: user.username, public: true }, + { key: 'GITLAB_USER_NAME', value: user.name, public: true } ] end |