The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Trigger a build on a local machine for CI/CD

Saleh Heydari
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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

DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events