Created
November 9, 2022 05:46
-
-
Save jc1518/cd7b85906da233dc8497b0cb37b96820 to your computer and use it in GitHub Desktop.
codeBuildCloneOutput
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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