我试图在Jenkins作业期间重置并启动Windows VM(在vSphere中)。我成功安装了vSphere Cloud Plugin
。我遵循instructions将Windows机器设置为jenkins-mvn-slave,并将其设置为作为服务运行。从Jenkins通过vSphere使用Windows VM
如果我在詹金斯的按钮,点击Launch Slave Agent
,我可以看到(在vSphere)的虚拟机做了revert snapshot
,然后它做了power on virtual machine
。如果我连接到机器上,我可以看到Jenkins服务自动启动。不过,回到Jenkins,它告诉我那Slave did not come online in allowed time
。
我从一些主要设置: Force VM launch: Checked Wait for VMTools: Not checked Delay between launch and boot complete: 120 Secondary launch method: Launch slave agents view Java Web Start
版本: Jenkins: 1.596.2 vSphere: 5.5.0 Windows: Server 2012 R2 Standard, Build 9600 vSphere plugin: 2.7
我缺少什么?