Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

gitlab system variables

export CI_JOB_ID="50"
export CI_COMMIT_SHA="1ecfd275763eff1d6b4844ea3168962458c9f27a"
export CI_COMMIT_SHORT_SHA="1ecfd275"
export CI_COMMIT_REF_NAME="main"
export CI_REPOSITORY_URL="https://gitlab-ci-token:[masked]@example.com/gitlab-org/gitlab-foss.git"
export CI_COMMIT_TAG="1.0.0"
export CI_JOB_NAME="spec:other"
export CI_JOB_STAGE="test"
export CI_JOB_MANUAL="true"
export CI_JOB_TRIGGERED="true"
export CI_JOB_TOKEN="[masked]"
export CI_PIPELINE_ID="1000"
export CI_PIPELINE_IID="10"
export CI_PAGES_DOMAIN="gitlab.io"
export CI_PAGES_URL="https://gitlab-org.gitlab.io/gitlab-foss"
export CI_PROJECT_ID="34"
export CI_PROJECT_DIR="/builds/gitlab-org/gitlab-foss"
export CI_PROJECT_NAME="gitlab-foss"
export CI_PROJECT_TITLE="GitLab FOSS"
export CI_PROJECT_NAMESPACE="gitlab-org"
export CI_PROJECT_ROOT_NAMESPACE="gitlab-org"
export CI_PROJECT_PATH="gitlab-org/gitlab-foss"
export CI_PROJECT_URL="https://example.com/gitlab-org/gitlab-foss"
export CI_REGISTRY="registry.example.com"
export CI_REGISTRY_IMAGE="registry.example.com/gitlab-org/gitlab-foss"
export CI_REGISTRY_USER="gitlab-ci-token"
export CI_REGISTRY_PASSWORD="[masked]"
export CI_RUNNER_ID="10"
export CI_RUNNER_DESCRIPTION="my runner"
export CI_RUNNER_TAGS="docker, linux"
export CI_SERVER="yes"
export CI_SERVER_URL="https://example.com"
export CI_SERVER_HOST="example.com"
export CI_SERVER_PORT="443"
export CI_SERVER_PROTOCOL="https"
export CI_SERVER_NAME="GitLab"
export CI_SERVER_REVISION="70606bf"
export CI_SERVER_VERSION="8.9.0"
export CI_SERVER_VERSION_MAJOR="8"
export CI_SERVER_VERSION_MINOR="9"
export CI_SERVER_VERSION_PATCH="0"
export GITLAB_USER_EMAIL="user@example.com"
export GITLAB_USER_ID="42"
...
Comment

PREVIOUS NEXT
Code Example
Shell :: print batch 
Shell :: git get remote branch 
Shell :: failed to execute child process gnome-software no such file 
Shell :: curl a zip 
Shell :: ascii to binary in bash 
Shell :: git unstage a file 
Shell :: ubuntu drivers 
Shell :: delete remote git branches matching pattern 
Shell :: git stash 
Shell :: add package in pubspec.yaml using command prompt in flutter 
Shell :: exit docker container 
Shell :: application version on ubuntu 
Shell :: install apk as system app with adb 
Shell :: copying a file from a server to a local folder 
Shell :: reverse a django migration 
Shell :: Unable to connect to server: connection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused Is the server running on that host and accepting TCP/IP connections? 
Shell :: .aws directory not found 
Shell :: github howto contribute fork 2 commits behind 
Shell :: azure devops set environment variable powershell 
Shell :: bash array 
Shell :: java.util.concurrent.ExecutionException: com.android.builder.testing.api.DeviceException: com.android.ddmlib.InstallException: INSTALL_FAILED_VERSION_DOWNGRADE: Package Verification Result 
Shell :: View Commit History With Changes 
Shell :: How To Make Log File On Batch Script 
Shell :: sudo: gem: command not found 
Shell :: configure a subdomain apache windows 
Shell :: linux scroll terminal 
Shell :: flutter desktop 
Shell :: Add a Remote Repository in git command 
Shell :: zip command in linux 
Shell :: Why github ask me username/password instead of SSH authentication? 
ADD CONTENT
Topic
Content
Source link
Name
1+7 =