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

How to trigger a pipeline with a build hook?

Oliver Pal October 29, 2019

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
freesko June 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

0 votes
Philip Hodder
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 16, 2020

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events