我正在尝试配置jenkins的本地实例以自动化部署 . 我在jenkins中使用了wildfly 8.2.1.Final和WildFly Deployer插件 .

当我配置我的项目以将我的war文件从jenkins部署到wildfly时,我收到以下错误:

在localhost连接到WildFly:9990部署目标\ TalonPTC.war ...

FATAL: {"outcome" => "failed","result" => {"step-1" => {"outcome" => "failed","rolled-back" => true},"step-2" => {"outcome" => "failed","failure-description" => {"JBAS014671: Failed services" => {"jboss.undertow.deployment.default-server.default-host./TalonPTC" => "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./TalonPTC: Failed to start service
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: java.util.concurrent.ExecutionException: javax.faces.FacesException: java.io.FileNotFoundException: D:\\Servers\\wildfly-8.2.1.Final\\standalone\\tmp\\vfs\\temp\\tempace3ce2e6837e151\\content-b79b5d3553132017\\content-2285857293233879332.tmp (Access is denied)

...
... (many more errors)
...

Caused by: java.io.FileNotFoundException: D:\\Servers\\wildfly-8.2.1.Final\\standalone\\tmp\\vfs\\temp\\tempace3ce2e6837e151\\content-b79b5d3553132017\\content-2285857293233879332.tmp (Access is denied)"}}}},"rolled-back" => true}

构建步骤'将WAR / EAR部署到WildFly'标记为构建失败