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

How to trigger a pipeline with a build hook?

Hello,

we have a Gatsby Frontend which needs to be build once the Drupal Backend ist updated with content.

Everything works fine with the standard git workflow triggering pipelines.

 

Is there any similar feature like build hooks from netflify? 

https://docs.netlify.com/configure-builds/build-hooks/#parameters

I want to trigger the pipeline once a day with cron.

 

Thanks!

2 answers

0 votes

Hello Oliver,

You can trigger a pipeline via the REST API here: https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/pipelines/

You can also configure scheduled pipelines in the UI directly, if you prefer: https://confluence.atlassian.com/bitbucket/scheduled-pipelines-933078702.html

Thanks,

Phil

0 votes
freesko I'm New Here Jun 25, 2020

It seems the Piplines doesn't support build hooks in the same way Netlify does, In fact with Pipeline you need to be authenticated to be able to trigger a build hook to build your statically build website with CMS (Gatsby + Prismic + Netlify in my case) and that is not compatible with my CMS and platforms

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket Pipelines

What We Learned When We Researched Open Source Vulnerabilities in 7 Popular Coding Languages

...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...

1,041 views 0 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