1 Answer
- Newest
- Most votes
- Most comments
0
In CodeBuild, you can use the source version to specify the branch.
Check these documents for more information: Source version sample with CodeBuild and Create a build project (console)
answered 3 years ago
Relevant content
- asked a year ago
- asked 3 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 4 years ago
- AWS OFFICIALUpdated a month ago
Hi thanks. Yes I do set the source version to develop and that works fine for manually triggered builds, but when I want to automatically trigger my pull requests and to build on various event, I can't figure out how to set that up to build the develop branch when a PR is merged into develop. What seems to happen is that the PR builds but it the PR branch as opposed to the develop branch that it is merging into.