Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
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

Accessing artifacts directly from Bitbucket pipeline interface?

Is it possible to configure a pipeline to output artifacts (such as coverage/test reports *.html) that are accessible in the pipeline UI in there original format, rather than compressed tar.gz?
I'm finding it quite clunky to download each time to view. On other CI tools, there is the capability to similar right click on the html artifacts and open in browser.
I have a pipeline with similar steps to the example below:

image: golang:1.19

pipelines:

  default:

    - step:

        name: Build and Test

        script:

          - make build

          - make test

          - make coverage

          - make lint

        artifacts:

          - generated/coverage/index.html

          - generated/test-reports/*
Is there any way I can directly access artifacts (such as html files) from the UI? 

1 answer

0 votes
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Dec 29, 2022 • edited

Hello @Brett James ,

Welcome to Atlassian Community! 

If your build generates test results in JUnit or Maven Surefire XML formats, regardless of the language being used, you will be able to see the Test Reports directly in the web interface. The Tests report tab will only show if you have failed tests to review. More details on Test reporting in pipelines.

For tests in different formats or for any type of artifacts (which are compressed at the end of the step), I'm afraid it's not currently possible to view them directly in the UI, and you would have to download the artifact to visualize it.

We do have a feature request to implement the ability to view artifacts in the web browser, which you can find on the following link : 

I would suggest you to add your vote there, since this helps both developers and product managers to understand the interest. Also, make sure you add yourself as a watcher in case you want to receive first-hand updates from that ticket. Please note that all features are implemented with this policy in mind

Thank you, @Brett James !

Patrik S

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events