You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/organizations/settings/naming-restrictions.md
+15-5Lines changed: 15 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -227,11 +227,21 @@ Tag names must conform to the following restrictions.
227
227
228
228
Azure Pipeline definitions must conform to the following restrictions.
229
229
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 `_`. |
235
245
236
246
For more information, see [Azure Pipelines documentation](../../pipelines/index.yml).
0 commit comments