Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Circle CI environment variables
# This is a list of Circle CI environment variables, pulled on Feb 9th 2017 @ 00:10
# This can be useful for example when running tests inside a docker and you wish to
# pass environment variables into the docker via docker-compose. That's why I made
# this list by starting a build with SSH enabled, and executing:
#
# ubuntu@box103:~$ env|grep ^CI|cut -d\= -f1|sort -u
CI
CI_PULL_REQUEST
CI_PULL_REQUESTS
CIRCLE_ARTIFACTS
CIRCLE_BRANCH
CIRCLE_BUILD_IMAGE
CIRCLE_BUILD_NUM
CIRCLE_BUILD_URL
CIRCLECI
CIRCLECI_PKG_DIR
CIRCLE_COMPARE_URL
CIRCLE_NODE_INDEX
CIRCLE_NODE_TOTAL
CIRCLE_PREVIOUS_BUILD_NUM
CIRCLE_PROJECT_REPONAME
CIRCLE_PROJECT_USERNAME
CIRCLE_REPOSITORY_URL
CIRCLE_SHA1
CIRCLE_TEST_REPORTS
CIRCLE_USERNAME
CI_REPORTS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment