Skip to content

Commit c954c0d

Browse files
committed
Merged main into live
2 parents 48e4d1c + 30b4696 commit c954c0d

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

docs/organizations/settings/naming-restrictions.md

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -227,11 +227,21 @@ Tag names must conform to the following restrictions.
227227

228228
Azure Pipeline definitions must conform to the following restrictions.
229229

230-
|Restriction type |Restriction |
231-
|---------|---------|
232-
|Job name |- Must only contain alphanumeric characters and `'_'`.<br/>- Must not start with a number.<br/>- Must have a unique name.<br/>- Must not contain keywords, for example: "deployment." |
233-
|Stage name | - Must only contain alphanumeric characters and `'_'`.<br/>- Must not start with a number.<br/>- Must not contain keywords, for example: "deployment." |
234-
|Expressions | Must start with `a-Z` or `_AND`, followed by `a-Z`, `0-9`, or `_`. |
230+
|Restriction type |Restriction |
231+
|--------------------|-------------|
232+
|Expressions | - Must start with `a-z`, `A-Z`, or `_`, followed by `a-z`, `A-Z`, `0-9`, or `_`. |
233+
|Variables | - User-defined and environment variable must only contain alphanumeric characters, `.`, and `_`.<br>- Must not begin with the following reserved prefixes: `endpoint`, `input`, `secret`, `path`, and `securefile`. Variables using these prefixes (case-insensitive) won’t be available to tasks or scripts.|
234+
|Stages | - Name of the stage `stage` must only contain alphanumeric characters and `_`.<br/>- Must not start with a number. |
235+
|Jobs | - Name of the job `job` must only contain alphanumeric characters and `_`.<br/>- Must not start with a number.<br>- Must not contain keywords, for example: "deploy". |
236+
|Deployment jobs | - Name of the deployment job `deployment` must only contain alphanumeric characters and `_`.<br>- Job and stage names must not contain reserved keywords (for example: deploy).<br>- Each job in a stage must have a unique name. |
237+
|Matrix job strategy | - Matrix configuration names must only contain alphanumeric characters and `_`.<br>- Must start with a letter.<br>- Maximum length: 100 characters. |
238+
|Build resource | - Alias or name of build artifact `build` must only contain alphanumeric characters, `-`, and `_`. |
239+
|Container resources | - Container ID `container` must only contain alphanumeric characters, `-`, and `_`. |
240+
|Package resources | - Alias of package artifact `package` must only contain alphanumeric characters, `-`, and `_`. |
241+
|Pipeline resources | - ID of the pipeline resource `pipeline` must only contain alphanumeric characters, `-`, and `_`. |
242+
|Repository resources| - Alias for the specified repository `repository` must only contain alphanumeric characters, `-`, and `_`. |
243+
|Webhook resources | - Name of the webhook `webhook` must only contain alphanumeric characters, `-`, and `_`. |
244+
|Steps | - ID of the step `name` must only contain alphanumeric characters, `-`, and `_`. |
235245

236246
For more information, see [Azure Pipelines documentation](../../pipelines/index.yml).
237247

0 commit comments

Comments
 (0)