Use source settings of your AWS CodeBuild project. The Jenkins Source Code Management section should be set to none.