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

Trigger a build on a local machine for CI/CD


We are building our SW locally on a remote PC and need to setup an automatic build from new pushes to the branch. How can we do that with Bitbucket CI/CD pipeline?

1 answer

0 votes

Hi @Saleh Heydari ,

When you run your builds locally, Bitbucket webhooks can be used instead of Pipelines:

A common use case for webhooks is to notify a CI Server to trigger a build on every push.

Are you looking into Pipelines so you can perform some additional operations during the Pipelines build, before triggering the build in your server?

The possibility to trigger the builds via Pipelines depends on how the builds are triggered in your remote PC.

E.g., if you have a script that can trigger the builds in your remote PC, you could use the following pipe with Pipelines:

which will connect to your remote server and execute the script that triggers the build.

Would any of that work for you?

Please feel free to let me know if you have any questions.

Kind regards,

Suggest an answer

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

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

117 views 2 4
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