aws-codebuild-extras
aws-codebuild-extras copied to clipboard
Add extra information of your AWS CodeBuild build via environment variables.
This seemed to be working a couple of weeks ago but `CODEBUILD_PULL_REQUEST` always seems to be `false` for me now.
The [Build Specification Reference]( https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec-ref-syntax) for AWS CodeBuild states: > Do not set any environment variable with a name that begins with CODEBUILD_. This prefix is reserved for internal use....
Is there a possibility to get `label` content? e.g marking a PR with a `label` and merging into branch. I would like to get `label` text.
Thanks for your script :bowing_man: . Makes working with codebuild more bearable. When building with Git clone depth set to 1, most of the variables like commit hash, branch etc...
Feature request: Can you enhance your `buildspec.yml` example so that it uses the newly added environment variables in subsequent stages?