shell script to restart windows machine using jenkins job

12 views
Skip to first unread message

Mayank Raghuwanshi

unread,
Oct 26, 2016, 12:38:42 PM10/26/16
to Jenkins Users
Hello All,

I am trying to automate windows machine reboot using jenkins job.

I created small shell script to restart windows machine in jenkins but when shell script runs from jenkins job it fails due to access permission.

I want to know at what level or how i can provide access to Jenkins or job to run shell script and restart server.

I tried using power shell and providing info of remote server but still it did not work..

Please provide me direction to achieve this job to automate restart of Windows server.

Regards,
Mayank Raghuwanshi

Reply all
Reply to author
Forward
0 new messages