Skip to content
This repository was archived by the owner on Nov 5, 2025. It is now read-only.

Repository files navigation

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:

curl -fsSL https://raw.githubusercontent.com/evertrue/aws-codebuild-extras/master/install >> extras.sh && . ./extras.sh

Or for better readability, break the installation into two steps. For example in the install phase:

phases:
install:
commands:
- echo Installing codebuild-extras...
- curl -fsSL https://raw.githubusercontent.com/evertrue/aws-codebuild-extras/master/install >> extras.sh
- . ./extras.sh
NAMEVALUE
CItrue
CODEBUILDtrue
CODEBUILD_GIT_AUTHORCommitter Name
CODEBUILD_GIT_AUTHOR_EMAILuser@example.com
CODEBUILD_GIT_BRANCHbranch name
CODEBUILD_GIT_COMMITcommit hash
CODEBUILD_GIT_MESSAGEcommit message
CODEBUILD_GIT_TAGgit tag
CODEBUILD_PROJECTproject
CODEBUILD_PULL_REQUESTPull request number

About

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

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages