Can I Programmatically Trigger a Build?


#1

Is it possible to remotely/programmatically trigger a build? I see information on configuration to trigger builds by branches being pushed, but I’d like to be able to do some work first before the build starts as part of our CI pipeline. It doesn’t appear this is presently possible from the API docs, but I haven’t been able to find anything explicitly staging this isn’t possible.


#2

You can do so using the API endpoint

POST: /project/:username/:project/tree/:branch

ref: https://circleci.com/docs/api/


#3

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.