Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Latest commit

 

History

History
21 lines (17 loc) · 954 Bytes

README.md

File metadata and controls

21 lines (17 loc) · 954 Bytes

aws-codebuild-extras Build Status

Add extra information of your AWS CodeBuild build via environment variables.

Usage

Add the following command to the install or pre_build phase of your buildspec:

bash -c "$(curl -fsSL https://raw.githubusercontent.com/thii/aws-codebuild-extras/master/install)"
NAME VALUE
CI true
CODEBUILD true
CODEBUILD_GIT_AUTHOR Committer Name
CODEBUILD_GIT_AUTHOR_EMAIL [email protected]
CODEBUILD_GIT_BRANCH branch name
CODEBUILD_GIT_COMMIT commit hash
CODEBUILD_GIT_MESSAGE commit message
CODEBUILD_GIT_TAG git tag
CODEBUILD_PROJECT project
CODEBUILD_PULL_REQUEST Pull request number