Add ENVIRONMENT VARIABLE stating who triggered the build


Description of the feature request

If the Build is triggered from git then we can get GIT_CLONE_COMMIT_AUTHOR_NAME but if the build is triggered manually, then how can we get the name of the user to be used in the workflow? I was looking for it here but didn’t found any.

I also added a custom script step and called printenv but there also, I could not find any info regarding this.

Use case / for what or how I would use it

It can be used in many places, such as while sending build messages in Slack, we can include who triggered the build or in any custom emails, we can use it.



You can get that information from inside the build using API: