Skip to content

Latest commit

 

History

History
67 lines (33 loc) · 886 Bytes

environment-variables_5b16f4a30428632c466a94c6.md

File metadata and controls

67 lines (33 loc) · 886 Bytes

Overview

TODO

Defining variables in pipeline yaml configuration

TODO

Defining variables in secrets

TODO

Pre-defined environment variables

Description # TODO

General

CI

SEMAPHORE

SEMAPHORE_PROJECT_NAME

SEMAPHORE_PROJECT_ID

SEMAPHORE_JOB_NAME

SEMAPHORE_JOB_ID

SEMAPHORE_JOB_RESULT

SEMAPHORE_PIPELINE_ID

Git repository related

SEMAPHORE_GIT_SHA

Example value: 5c84719708b9b649b9ef3b56af214f38cee6acde

SEMAPHORE_GIT_URL

Example value: http://[email protected]:semaphoreci/toolbox.git

SEMAPHORE_GIT_REPO_SLUG

Example value: semaphoreci/toolbox

SEMAPHORE_GIT_BRANCH

Example value: development

SEMAPHORE_GIT_PR_NUMBER

Example value: 1228

SEMAPHORE_GIT_REPO_NAME

Example value: toolbox

SEMAPHORE_GIT_DIR

Example value: /home/semaphore/foo