【发布时间】:2016-09-13 03:51:00
【问题描述】:
我正在尝试在 Jenkins 作业期间重置并启动 Windows VM(在 vsphere 中)。我成功安装了vSphere Cloud Plugin。我已经按照instructions 将 Windows 机器设置为 jenkins-mvn-slave,并将其设置为作为服务运行。
如果我在 Jenkins 中单击 Launch Slave Agent 的按钮,我可以看到(在 vsphere 中)VM 执行 revert snapshot,然后执行 power on virtual machine。如果我附加到机器上,我可以看到 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
我错过了什么?
【问题讨论】:
标签: windows jenkins jenkins-plugins vsphere