Skip to content

Instantly share code, notes, and snippets.

@jc1518
Created November 9, 2022 05:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jc1518/cd7b85906da233dc8497b0cb37b96820 to your computer and use it in GitHub Desktop.
Save jc1518/cd7b85906da233dc8497b0cb37b96820 to your computer and use it in GitHub Desktop.
codeBuildCloneOutput
const pipeline = new cdk.aws_codepipeline.Pipeline(this, "Pipeline", {
role: pipelineRole,
restartExecutionOnUpdate: true,
enableKeyRotation: true,
});
pipeline.addStage({
stageName: "Get_Source",
actions: [
new cdk.aws_codepipeline_actions.CodeStarConnectionsSourceAction({
actionName: "Bitbucket_Source",
connectionArn: this.bitbucketCodestarConnection.valueAsString,
owner: this.bitbucketRepositoryOwner.valueAsString,
repo: this.bitbucketRepository.valueAsString,
branch: this.bitbucketBranch.valueAsString,
output: pipelineArtifact,
codeBuildCloneOutput: true,
}),
],
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment