-
Notifications
You must be signed in to change notification settings - Fork 26
only 'master' branch is triggered using v2 API #46
Comments
This seems to be working pretty consistently for us. |
@peterbamsey |
+1 |
Had the same problem, and found the issue. |
@ya-riel |
Glad to hear that I helped. Just for the record - the credit for pinpointing the issue goes to @izikorgad |
I'm trying to trigger a build on specified branch using such v2 API call:
curl -u ${CIRCLECI_TOKEN}: -X POST "Content-Type: application/json" -d '{"branch": "some-branch"}' https://circleci.com/api/v2/project/${project_slug}/pipeline
EXPECTED RESULT:
I expect the branch specified in
branch
parameter will be triggered.ACTUAL RESULT:
Instead of specified branch
master
always trigger.The text was updated successfully, but these errors were encountered: