Status: Closed (View Workflow)
I want to run a scheduled build as specific user.
Currently, for Scheduled build we cant define a user. and we do not have information on who ran the build. Let me know if there is any option available to assign a user for scheduled build
if no further feedback will be provided until the end of the month, i'll close this issue as incomplete. If your problem still persists, please comment.
Martin Spielmann added a comment - Hi sagayd if no further feedback will be provided until the end of the month, i'll close this issue as incomplete. If your problem still persists, please comment.
I'm not sure if I get the requirement correctly. If a build is started by scheduled build plugin, the behavior is basically the same like starting a build using the "Build now" button. This means that the user who scheduled the build should be logged in the first line of the console output:
If this is not the case in your build, you are maybe able to get the user information manually by using https://wiki.jenkins.io/display/JENKINS/Build+User+Vars+Plugin
What exactly do you mean by assigning another user? Running a job as another jenkins user? Or provide user credentials as a build parameter?