1. bat 里面怎么sleep 等待: ping 127.0.0.1 -n 2000 > nul
2. net use
建立映射: net use Y: \172.16.10.240Infa_SharedInfa_BuildMercuryAT_buildWindows /user:INFARAIDSVRinfa "!qaz2wsX"
在cmd里面执行可能不需要 user和password, 但是在jenkins上运行就需要:
还有需要指定机器名
3. powershell 需要sleep:
Start-Sleep -s 60