Trigger a build on a local machine for CI/CD

Saleh Heydari April 26, 2021

Hi,

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
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 30, 2021

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,
Theodora

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events