简体   繁体   English

Jenkins构建失败没有错误

[英]Jenkins build fails no error

I am quite new when it comes to Jenkins and I am trying to setup a continuous integration environment for our workspace. 关于Jenkins,我还是一个新手,我正在尝试为我们的工作区设置一个持续集成环境。 I am running Jenkins locally on a Windows client - solely for testing purposes - but cannot seem to find the error that is causing the build to fail. 我正在Windows客户端上本地运行Jenkins(仅出于测试目的),但似乎找不到导致构建失败的错误。 All I want to do is trigger an automatic build that will compose the .war file. 我要做的只是触发一个自动构建,该构建将组成.war文件。

Here is the generated output from Jenkins: 这是詹金斯生成的输出:

<===[JENKINS REMOTING CAPACITY]===>channel started
log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.converters.BooleanConverter).
log4j:WARN Please initialize the log4j system properly.
Executing Maven:  -B -f C:\Program Files (x86)\Jenkins\jobs\POSIOS\workspace\XudoxWS\src\main\XudoxWS\pom.xml mvn install -Dmaven.test.skip=true
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building XudoxWS WebServer 0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.116s
[INFO] Finished at: Mon Oct 14 18:22:33 CEST 2013
[INFO] Final Memory: 7M/154M
[INFO] ------------------------------------------------------------------------

I can confirm that I can locally build the project without any issues. 我可以确认我可以在本地构建项目而没有任何问题。 I am using Maven. 我正在使用Maven。

Thanks in advance for your offered help. 预先感谢您提供的帮助。

似乎您已经将以下内容设置为目标和选项: mvn install -Dmaven.test.skip=true您不应该包含mvn可执行文件,这样就可以正常工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM