Skip to content

Commit 41c72ee

Browse files
Update environment variables that are in server (#9348)
* Update environment variables that are in server * add note about version support for OIDC on server * fix lint errors * v1 token is also available from 4.4 --------- Co-authored-by: Rosie Yohannan <[email protected]>
1 parent 282fb08 commit 41c72ee

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Diff for: jekyll/_cci2/variables.adoc

+8-8
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ This page is a reference for all built-in values available for use in your Circl
1616
[#built-in-environment-variables]
1717
== Built-in environment variables
1818

19-
The following built-in environment variables are available for CircleCI projects. A few environment variables are available for GitHub OAuth and Bitbucket Cloud projects that have been deprecated for GitLab, GitHub App and Bitbucket Data Center support. If you must continue to use those as environment variables in your GitLab pipelines, refer to the workaround described after the list below.
19+
The following built-in environment variables are available for CircleCI projects. Some environment variables are available for GitHub OAuth and Bitbucket Cloud projects that have been deprecated for GitLab, GitHub App and Bitbucket Data Center support. If you must continue to use those as environment variables in your GitLab pipelines, refer to the workaround described after the list below.
2020

21-
Environment variables are scoped at the job level. They can be used within the context of a job but do not exist at a pipeline level, therefore they cannot be used for any logic at the pipeline or workflow level.
21+
Environment variables are scoped at the job level and can be used within the context of a job. Environment variables do not exist at a pipeline level, therefore they cannot be used for any logic at the pipeline or workflow level.
2222

2323
NOTE: You cannot use a built-in environment variable to define another environment variable. Instead, you must use a `run` step to export the new environment variables using `BASH_ENV`. For more details, see xref:set-environment-variable#set-an-environment-variable-in-a-shell-command[Setting an Environment Variable in a Shell Command].
2424

@@ -93,28 +93,28 @@ NOTE: You cannot use a built-in environment variable to define another environme
9393
| String
9494
| An OpenID Connect token signed by CircleCI which includes details about the current job.
9595
| icon:check[]
96-
| icon:times[]
96+
| icon:check[] from v4.4
9797

9898
| `CIRCLE_OIDC_TOKEN_V2`
9999
| GitHub, Bitbucket, GitLab
100100
| String
101101
| An OpenID Connect token signed by CircleCI which includes details about the current job.
102102
| icon:check[]
103-
| icon:times[]
103+
| icon:check[] from v4.4
104104

105105
| `CIRCLE_ORGANIZATION_ID`
106106
| GitHub, Bitbucket, GitLab
107107
| String
108108
| A unique identifier for the CircleCI organization.
109109
| icon:check[]
110-
| icon:times[]
110+
| icon:check[]
111111

112112
| `CIRCLE_PIPELINE_ID`
113113
| GitHub, Bitbucket, GitLab
114114
| String
115115
| A unique identifier for the current pipeline.
116116
| icon:check[]
117-
| icon:times[]
117+
| icon:check[]
118118

119119
| `CIRCLE_PR_NUMBER`
120120
| GitHub OAuth, Bitbucket Cloud
@@ -140,7 +140,7 @@ NOTE: You cannot use a built-in environment variable to define another environme
140140
| `CIRCLE_PREVIOUS_BUILD_NUM`
141141
| GitHub, Bitbucket, GitLab
142142
| Integer
143-
| The largest job number in a given branch that is less than the current job number. **Note**: The variable is not always set, and is not deterministic. It is also not set on runner executors. This variable is likely to be deprecated, and CircleCI recommends users to avoid using it.
143+
| The largest job number in a given branch that is less than the current job number. **Note**: The variable is not always set, and is not deterministic. It is also not set on runner executors. This variable will be deprecated and is not recommended for use.
144144
| icon:check[]
145145
| icon:check[]
146146

@@ -149,7 +149,7 @@ NOTE: You cannot use a built-in environment variable to define another environme
149149
| String
150150
| A unique identifier for the current project.
151151
| icon:check[]
152-
| icon:times[]
152+
| icon:check[]
153153

154154
| `CIRCLE_PROJECT_REPONAME`
155155
| GitHub, GitLab, Bitbucket

0 commit comments

Comments
 (0)