Reputation: 7515
I want to configure cucumber report tool in Bamboo. It has procedure to do it in Jenkins.
https://github.com/damianszczepanik/cucumber-reporting
I know there are bunch of plugins available in marketplace. But I don't need them. Did anyone succeeded in configuring the damian's cucumber report plugin in Bamboo.
Thanks
Upvotes: 0
Views: 3634
Reputation: 7515
Here is how I configured masterthought cucumber reports in Bamboo
Add the following plugin code in pom file
<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>
Click on Create Definition button and input the below details.
**/*.*
(This will copy all the folders and subfolders and files recursively)Now run your build and you can able to access these reports in the Artifacts tab of your build summary. Hope this helps.
Upvotes: 2
Reputation: 1145
As this plugin generates HTML report you can create artifact in Bamboo to include that report as build artifact. Then you will see it in artifact list and view it via web browser. It will be not inlined into Bamboo UI, but you can view test results anyway
Upvotes: 2