Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,556,199
Community Members
 
Community Events
184
Community Groups

Bamboo and Cucumber

Do anyone has any idea on how to set-up cucumber test in bamboo ? and can anyone help on how to use tags in Bamboo ?

We have a set-up where if we try to run it locally then it works but when we try to run it using Bamboo the build always hungs and becomes never ending.

Any detailed note on this will be very helpful.

 

Thank you

 

Regards,

Susant

4 answers

You can create Bamboo plan with following tasks

Source Checkout Task: To checkout source code

Maven Task: To build project and run cucumber scenarios

Cucumber for Bamboo task: To parse cucumber scenarios as test in Bamboo, use Cucumber tags to control build status and integrate results with JIRA

https://sites.google.com/site/autotestingtools/cucumber-task-for-bamboo

0 votes
Volodymyr Krupach
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Feb 18, 2015

You need to check logs from bamboo and cucumber.

Logs in Bamboo: https://confluence.atlassian.com/display/BAMBOO/Viewing+a+build+log

This could be useful to get more info from cucumber: http://stackoverflow.com/questions/1060754/how-to-make-cucumber-show-full-rails-error-message

0 votes
rsperafico
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Feb 18, 2015

Hello Susant,

Thank you for your question.

If running a Source Code Checkout task from a Stash repository, you could add a Script task with the following:

git tag -a "${bamboo.buildNumber}" -m "${bamboo.planName} build number ${bamboo.buildNumber}"

git remote add remote http://[USERNAME]:[PASSWORD]@[STASH-BASE-URL]/scm/sup/[REPOSITORY].git

git push --tags remote ${bamboo.buildNumber}

git remote rm remote

If you find this answer useful, I would kindly ask you to accept it so the same will be visible to others who might be facing the same issue you have inquired.

Thank you for your understanding.

Kind regards,
Rafael P. Sperafico
Atlassian Support

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events