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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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 Jira

Announcing the waitlist for Jira Work Management

Hey there Cloud Community members! We’re excited to give you the first glimpse of the new home for business teams on Jira — Jira Work Management. Jira Work Management is the next generation of J...

153 views 3 7
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