Jonas Gröger
Jonas Gröger

Reputation: 1628

CircleCI: Trigger build when repository that is not mine changes

At CircleCI: Is it possible to trigger a build when a git repository that is not mine changes / gets a new tag?

Upvotes: 1

Views: 347

Answers (1)

Igor Gladun
Igor Gladun

Reputation: 1432

You can trigger a build via the CircleCI API

POST: /project/:vcs-type/:username/:project/tree/:branch Triggers a new build, returns a summary of the build.

Example: curl -X POST -H -d "{}" "https://circleci.com/api/v1/project/your_organization/your_project/tree/master?circle-token=3afeaxxxxxxxxxxx"

Upvotes: 3

Related Questions