[Jenkins]怎样在Jenkins上面启动服务器上的批处理脚本

New Item

在Build --> Execute Windows batch command --> 里面填写:

schtasks /run /tn Start_Hub_szotqa201201 /s szotqa201201/u szdomain1doautotester /p mimaemima

Start_Hub_szotqa201201 : 远程机器szotqa201201上的计划任务名称

szotqa201201 : 远程机器名称

msdomain1doautotester : 域名登录用户名

mimaemima : 登录密码

原文地址:https://www.cnblogs.com/MasterMonkInTemple/p/3925167.html