当使用Jenkins运行作业(使用maven和黄瓜)时,作业正在成功运行。然而,当我看到黄瓜报告时,我得到的信息如下图所示。
net.masterthought.cucumber.ValidationException: No report file was added!
at net.masterthought.cucumber.ReportParser.parseJsonFiles(ReportParser.java:55)
at net.masterthought.cucumber.ReportBuilder.generateReports(ReportBuilder.j
我有一个推送到GitHub的SpringBoot项目,在其中我有一些半集成测试,其中我使用嵌入式mongo作为数据库。我的构建在本地是成功的,并且测试正在通过,但是当运行"Java with Maven“GitHub操作时,它失败了,并显示以下信息:
nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.data.mongodb.core.MongoDbFactorySupport]: Factory met
我正试图在Jenking服务器上构建一个maven项目。与Jenkins一样,我们使用Gerrit作为存储库。我的项目无法构建并给出以下错误。
Waiting for Jenkins to finish collecting data mavenExecutionResult exceptions not empty message : Unknown lifecycle phase "mvn". You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<
最近,我正在升级我的团队的一个项目的依赖项。更改后,项目在我的笔记本电脑上成功地在本地构建。但是,相同的代码更改给Jenkins带来了编译错误。
我遇到的错误与powermockito包中的class file for xxx.xxx.xxx. not found有关。附加一些相关代码以供参考。
所使用的透水pom版本:
... some lines above it ...
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
关于Maven和运行单元测试的小问题。 我有一个非常基本的Java SpringBoot项目,带有一些单元测试。我运行基本的mvn clean install非常简单。由于一些我不明白的原因,我看到我所有的单元测试都运行了两次。 这里有一次: [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ project ---
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------