If your jenkins is started as service, you need to go to service, select jenkins service, r-click select properties. 

Select logon - this account to log on , then restart the jenkins.

How to start jenkins by administrator.

相关文章: