Something that I learned Today – I was working a CodePipeline pipeline which gets the source codes from a CodeStar connection that was built to a Bitbucket Cloud workspace. And in the following stage, I needed to get the git commit history of that repository.
As shown below CodePipeline does not keep the git metadata about the repository by default. To achieve what is required, I need to use the “Full clone” as the output artifact format.
In CDK, the setting is named as codeBuildCloneOutput. Here is a example:
This file contains hidden or 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