Skip to main content
Formatting.
Source Link
Lii
  • 12.2k
  • 9
  • 69
  • 92

how How to get the BUILD_USER in Jenkins when job triggered by timer?

I wanted to show the user who triggered a jenkinsJenkins job in the post job email. This is possible by using the plugin 'Build User Vars Plugin'Build User Vars Plugin and the env variable BUILD_USERBUILD_USER. But this variable do not get initialized when the job is triggered by a scheduler  . How

How can we achieve this , i? I know we have a plugin called - EnvInject Plugin,and and that can be used... but

But I just want to know how we can use this and achiveachieve the solution...

how to get the BUILD_USER in Jenkins when job triggered by timer

I wanted to show the user who triggered a jenkins job in the post job email. This is possible by using the plugin 'Build User Vars Plugin' and the env variable BUILD_USER. But this variable do not get initialized when the job is triggered by a scheduler  . How can we achieve this , i know we have a plugin called - EnvInject Plugin,and that can be used... but just want to know how we can use this and achive the solution...

How to get the BUILD_USER in Jenkins when job triggered by timer?

I wanted to show the user who triggered a Jenkins job in the post job email. This is possible by using the plugin Build User Vars Plugin and the env variable BUILD_USER. But this variable do not get initialized when the job is triggered by a scheduler.

How can we achieve this? I know we have a plugin called - EnvInject Plugin, and that can be used...

But I just want to know how we can use this and achieve the solution...

Source Link
Musaffir Lp
  • 995
  • 1
  • 10
  • 16

how to get the BUILD_USER in Jenkins when job triggered by timer

I wanted to show the user who triggered a jenkins job in the post job email. This is possible by using the plugin 'Build User Vars Plugin' and the env variable BUILD_USER. But this variable do not get initialized when the job is triggered by a scheduler . How can we achieve this , i know we have a plugin called - EnvInject Plugin,and that can be used... but just want to know how we can use this and achive the solution...