I am working on AWS CodePipeline , Actually, I had an existing AWS Codepipeline setup for 3 pipeline jobs. We are using Bitbucket for source code provider, In codepipeline we had established a connection between Bitbucket repo to codepipeline access. Now all pipeline every code checkin in pipeline is executing. Now I want to disable these auto-trigger pipelines. we need to execute all pipeline manually. Please help with this.
-
1Unfortunately, you have provided very little details. But assuming CodeCommit as your repo, you can delete/modify CW rule that triggers the CodePipeline.Marcin– Marcin2020-05-04 05:47:18 +00:00Commented May 4, 2020 at 5:47
-
1Were you able to sort this out ? Looking for the same now (disable bitbucket auto trigger)SparX– SparX2020-05-25 23:59:34 +00:00Commented May 25, 2020 at 23:59
1 Answer
To disable the AWS Codepipeline trigger for every code check in bitbucket, you have go to the SOURCE configuration (the bitbucket configuration) of your code pipeline, there will be a WebHook checkbox you will have to uncheck it.
You can start the pipeline manually both in CLI or console
cli:
aws codepipeline start-pipeline-execution --name MyFirstPipeline
console:
Sign in to the AWS Management Console and open the CodePipeline console at http://console.aws.amazon.com/codesuite/codepipeline/home.
In Name, choose the name of the pipeline you want to start.
On the pipeline details page, choose Release change. This starts the most recent revision available in each source location specified in a source action through the pipeline.
For more details:
https://docs.aws.amazon.com/codepipeline/latest/userguide/pipelines-rerun-manually.html
