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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can a Bitbucket Cloud static website show pipeline output?

Noob question; I might be getting the terminology fuzzy.

When using Bitbucket Cloud to host a static website out of a repository (like <example.bitbucket.io>), is it possible to have the site show/include data generated by a pipeline/build?

One common use case might be to indicate whether the latest build has passing tests. Another (perhaps more heavyweight) possibility might be if a project compiles to HTML/CSS/JS from something else (e.g. Jekyll, Sass, TypeScript).

On one hand, this might impinge on the philosophical purity of a static website; on the other, it naively seems like a relatively straightforward combination of existing functionality.

1 answer

1 accepted

0 votes
Answer accepted

Hey @sonatagreen , welcome to the Atlassian Community.

When using Bitbucket Cloud to host a static website out of a repository (like <example.bitbucket.io>), is it possible to have the site show/include data generated by a pipeline/build?

I'd say it certainly is, despite I've never tried it out myself. Really nice idea.

Keep in mind thought the website is publicly available, so the build information you'd like to put there should be public as well.

All you need to do for publishing is to pull from the site directory, update the main branch and push to it again. This should do it.

And as you can use pipelines as well with the Atlassian Bitbucket static-website repository, you can run Jekyll, Sass, Typescript or whatever your pipelines container is for.

To fetch JSON data of a pipeline run itself, the REST API has some offerings (e.g. pulling logs - if you want that info at all).

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence Cloud

🎨 Add some visual life to your templates

Hi Atlassian Community, My name is Avni Barman, and I am a Product Manager on the Confluence Cloud team. Based on feedback from you, we are giving admins more power to create templates that a...

89 views 1 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you