我想在Bamboo中配置黄瓜报告工具。它有在Jenkins中执行此操作的程序。
https://github.com/damianszczepanik/cucumber-reporting
我知道市场上有很多插件可供使用。但我不需要它们。有没有人成功配置了Bamboo的damian黄瓜报告插件。
由于
答案 0 :(得分:2)
由于此插件生成HTML报告,您可以在Bamboo中创建工件以将该报告包含为构建工件。然后,您将在工件列表中看到它并通过Web浏览器查看它。它不会内嵌到Bamboo UI中,但您仍可以查看测试结果
答案 1 :(得分:2)
以下是我在Bamboo中配置masterthought黄瓜报告的方法
在pom文件中添加以下插件代码
<plugin>
<groupId>net.masterthought</groupId>
<artifactId>maven-cucumber-reporting</artifactId>
<version>3.4.0</version>
<executions>
<execution>
<id>execution</id>
<phase>test</phase>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/cucumber-maven-reports</outputDirectory>
<cucumberOutput>${project.build.directory}/cucumber.json</cucumberOutput>
</configuration>
</execution>
</executions>
</plugin>
单击“创建定义”按钮并输入以下详细信息。
**/*.*
(这将递归复制所有文件夹和子文件夹和文件)现在运行您的构建,您可以在构建摘要的工件标签中访问这些报告。希望这会有所帮助。