JBehave parser for Bamboo and task to Bamboo to Parse JBehave results in JIRA. It create a test in Bamboo for each JBehave scenario. This task reads all XML files in Bamboo test plan working directory. You must enable XML format in your JBhehave project.
This task also links Bamboo test runs and run information to individual JIRA issues by finding issue ids in JBehave scenarios.
![](https://autotestingtools.atlassian.net/wiki/download/attachments/1441998/Atlassian%20Badge.png?version=1&modificationDate=1468667736779&cacheVersion=1&api=v2)
JBehave Integrate JBehave framework with Bamboo and JIRA Image Added JBehave parser for Bamboo and task to Bamboo to Parse JBehave results in JIRA. It create a test in Bamboo for each JBehave scenario. This task reads all XML files in Bamboo test plan working directory. You must enable XML format in your JBhehave project. This task also links Bamboo test runs and run information to individual JIRA issues by finding issue ids in JBehave scenarios.
How to Install: - Log into your Bamboo instance as an admin.
- Click the admin dropdown and choose Atlassian Marketplace.The Manage add-ons screen loads.
- Click Find new add-ons from the left-hand side of the page.
- Locate JBehave for Bamboo via search.The appropriate add-on version appears in the search results.
- Click Try free to begin a new trial or Buy now to purchase a license for JBehave for Bamboo.You're prompted to log into MyAtlassian. JBehave for Bamboo begins to download.
- Enter your information and click Generate license when redirected to MyAtlassian.
- Click Apply license.If you're using an older version of UPM, you can copy and paste the license into your Bamboo instance.
To find older JBehave for Bamboo versions compatible with your instance, you can look through our version history page.
How to configure Bamboo plan? Open Bamboo instance and log in. 1. Click on Create > Create a new plan |
|
![](https://autotestingtools.atlassian.net/wiki/download/attachments/1441998/2.png?version=1&modificationDate=1468667486148&cacheVersion=1&api=v2&effects=drop-shadow)
2. Provide necessary information
![](https://autotestingtools.atlassian.net/wiki/download/attachments/1441998/3.png?version=1&modificationDate=1468667491882&cacheVersion=1&api=v2&effects=drop-shadow)
3. Select source repository of your test code and provide login details. Select your repository and click configure plan.
![](https://autotestingtools.atlassian.net/wiki/download/attachments/1441998/4.png?version=1&modificationDate=1468667498667&cacheVersion=1&api=v2&effects=drop-shadow)
Image RemovedThis will add Source code checkout task.
Image Added
4. Now add task Maven/Ant/Command to execute the source code. In this example i have added Maven and provided goal "integration-test" as defined in my JBehave project configuration.
![](https://autotestingtools.atlassian.net/wiki/download/attachments/1441998/7.png?version=1&modificationDate=1468667523769&cacheVersion=1&api=v2&effects=drop-shadow)
Image Added
Image Removed
Image Added
Image Removed
5. Now add JBehave parser task to parse results generated by above task.
![](https://autotestingtools.atlassian.net/wiki/download/attachments/1441998/6.png?version=1&modificationDate=1468667515479&cacheVersion=1&api=v2&effects=drop-shadow)
Image Removed
Image Added
6. If you want to integrate JBehave test results parsed in Bamboo to be integrated in JIRA as well so that JIRA users can see all information in issue itself, enable JIRA settings. Enable the actions you want to be performed in JIRA issue.
Image Removed
Image Added
Image Removed
Image Added
![](https://autotestingtools.atlassian.net/wiki/download/attachments/1441998/15.png?version=1&modificationDate=1468667571245&cacheVersion=1&api=v2&effects=drop-shadow)
7. Run plan
Image Added
Build Result Summary:
Image Added
JBehave Scenarios as Tests in Bamboo:
Image Added
Image Removed
Logs in Bamboo:
Image Removed
Image Added
Image Removed
Image Added
Image Removed
Now, you may want to see JBehave html results attached to the build. This is quick and easy.
Click on configure plan.
Image Removed
Image Added
Image Removed
How to add artifacts?
1. Click on the last job. in our example we have just one job ("Default Job").
Image Removed
Image Added
![](https://autotestingtools.atlassian.net/wiki/download/attachments/1441998/24.png?version=1&modificationDate=1468667654199&cacheVersion=1&api=v2&effects=drop-shadow)
![](https://autotestingtools.atlassian.net/wiki/download/attachments/1441998/25.png?version=1&modificationDate=1468667660526&cacheVersion=1&api=v2&effects=drop-shadow)
![](https://autotestingtools.atlassian.net/wiki/download/attachments/1441998/26.png?version=1&modificationDate=1468667667321&cacheVersion=1&api=v2&effects=drop-shadow)
![](https://autotestingtools.atlassian.net/wiki/download/attachments/1441998/27.png?version=1&modificationDate=1468667675082&cacheVersion=1&api=v2&effects=drop-shadow)
![](https://autotestingtools.atlassian.net/wiki/download/attachments/1441998/28.png?version=1&modificationDate=1468667677424&cacheVersion=1&api=v2&effects=drop-shadow)
![](https://autotestingtools.atlassian.net/wiki/download/attachments/1441998/29.png?version=1&modificationDate=1468667680080&cacheVersion=1&api=v2&effects=drop-shadow)
![](https://autotestingtools.atlassian.net/wiki/download/attachments/1441998/30.png?version=1&modificationDate=1468667684624&cacheVersion=1&api=v2&effects=drop-shadow)
![](https://autotestingtools.atlassian.net/wiki/download/attachments/1441998/31.png?version=1&modificationDate=1468667690029&cacheVersion=1&api=v2&effects=drop-shadow)
![](https://autotestingtools.atlassian.net/wiki/download/attachments/1441998/32.png?version=1&modificationDate=1468667694316&cacheVersion=1&api=v2&effects=drop-shadow)
...