Audit Trail Plugin records this if done via the /(safe)Restart URLs.
On 31.03.2015, at 19:37, Greg Nifor whitehotentr...@gmail.com wrote:
Is there a way to log who ordered a Jenkins restart? The log right now just
denotes that a restart happened. I would like something like
Mar 30, 2015
If Jenkins is ordered to shut down/restart, the user who ordered the restart
should already get logged to jenkins.model.Jenkins:
https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/jenkins/model/Jenkins.java#L3354
On Tue, Mar 31, 2015 at 2:06 PM, Daniel Beck m...@beckweb.net wrote:
Of course, if the user logs into the server and restarts the Jenkins
service, it won't get logged this way. There's no way for Jenkins to
determine who does it either.
You can add it to the script itself if you do it from
Is there a way to log who ordered a Jenkins restart? The log right now just
denotes that a restart happened. I would like something like
Mar 30, 2015 9:57:01 PM INFO: Safe-restart started by GregWringle.
Is there anyway I can implement this?
--
You received this message because you are