Skip to content

Commit 16ab714

Browse files
committed
add note
1 parent fb71038 commit 16ab714

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/pipelines/process/templates.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -460,8 +460,8 @@ jobs:
460460
461461
Variables can be defined in one YAML and included in another template. This could be useful if you want to store all of your variables in one file. If you're using a template to include variables in a pipeline, the included template can only be used to define variables. You can use steps and more complex logic when you're [extending from a template](#extend-from-a-template).
462462
463-
464-
Use [parameters](template-parameters.md#passing-parameters) instead of variables for added security such as specifying type. For more information on the importance of using parameters for shell tasks, refer to the [Enable shell tasks arguments parameter validation documentation](../security/inputs.md#enable-shell-tasks-arguments-parameter-validation).
463+
> [!NOTE]
464+
> Use [parameters](template-parameters.md#passing-parameters) instead of variables for added security such as specifying type. For more information on the importance of using parameters for shell tasks, refer to the [Enable shell tasks arguments parameter validation documentation](../security/inputs.md#enable-shell-tasks-arguments-parameter-validation).
465465
466466
In this example, the variable `favoriteVeggie` is included in `azure-pipelines.yml`.
467467

0 commit comments

Comments
 (0)