Jenkins uptime - how long since last restart

前端 未结 3 1268
迷失自我
迷失自我 2021-02-09 03:34

Is it possible to see how long a Jenkins instance/master has been running?

I\'ve tried looking around in \"Manage Jenkins\" but can\'t find it there. I know I could log

3条回答
  •  Happy的楠姐
    2021-02-09 03:58

    Just check the "all system logs" at /log/all - scroll the log to the top.

    No need for Groovy scripts.

    P.S. But, as pointed out, this option will work only if the restart was recent and the corresponding log entries were not overwritten.

提交回复
热议问题