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,463,377
Community Members
 
Community Events
176
Community Groups

How to generate extent report in bitbucket pipelines post build completion.

I have created a CI/CD pipeline for my automation test cases which uses java as the technology & maven as the build tool. I want the extent report to be generated post build completion irrespective of build fails or not. Please let me know how to integrate this with the pipeline

3 answers

Hi @Ankit Gupta  - I do see the artifacts section in the log file. I am able to download it as well however the file is a rar .gz extension file. How do we view it?

@Ankit Gupta  When i run the code in local, extent report gets generated post the execution of code in a folder named as  TestReport. I want the same to happen when the build gets completed in bitbucket pipelines.

Please let me know if there is a way to make changes in yml file and see the extent report getting generated in the TestReport folder.

I haven't integrated with the maven tool in Bitbucket Pipeline, but maybe you are looking to save the artifacts from the extent reports generated in the test step.

@AnkitGupta  When i run the code in local, extent report gets generated post the execution of code in a folder named as  TestReport. I want the same to happen when the build gets completed in bitbucket pipelines.

Please let me know if there is a way to make changes in yml file and see the extent report getting generated in the TestReport folder.

Hi @Sandeep.Dash

You can add the below to your `yml`:

artifacts:
- TestReport/*

You can reference the documentation: https://support.atlassian.com/bitbucket-cloud/docs/use-artifacts-in-steps/ 

It would be available in the "Downloads" Tab in the Pipeline run

Hi @AnkitGupta  - I do see the artifacts section in the log file. I am able to download it as well however the file is a rar .gz extension file. How do we view it?

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events