Skip to content

Why does CodePipeline require you to specify a source code provider?

0

I have a CodeBuild project as well as a CodePipeline project which is using the CodeBuild project. Inside the CodeBuild project I have specified GitHub as the source provider, which is working fine. When I created the CodePipeline project it forced me to specify GitHub again as the source provider even though I'm using the CodeBuild project as the build provider.

I don't understand why the CodePipeline requires me to specify a source code provider if the CodeBuild project already does that. What is the point of this?

asked 3 years ago1.9K views
1 Answer
3

If you are using Code Pipeline, it is the Pipeline that triggers your build. To work with Github you specify Github as source stage Github repo. The output of this stage is then used as input for the build action.

If you reuse an existing CodeBuild project that is using Github as Source Trigger in a CodePipeline, the project will be reconfigured to work with CodePipeline by changing the GitHub source trigger to No Source. This is to ensure your build is only triggered by the CodePipeline.

AWS
EXPERT
answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.