To utilize the variables defined within the Azure Pipeline interface as the job name or displayName, you need to use the syntax ${{variables.variableName}}
. For example, if you have defined a variable named jobName
, you can use it in the job name or displayName like this:
jobs:
- job: ${{variables.jobName}}
displayName: ${{variables.jobName}}
steps:
...
This will set the job name and displayName to the value of the jobName
variable.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2023-06-15 12:46:10 +0000
Seen: 12 times
Last updated: Jun 15 '23
What is the process of scheduling a cron job to occur on the first Thursday of each month?
How can a notification email be sent only once despite multiple failures of a scheduled job?
How can you create GitHub Actions Badges for numerous jobs contained in one file?
What is the method for restricting BigQuery job through slots?
Can the names of rows be modified in MUI DataGrid?
How to modify the name of existing captions in MS Word?
How can you use linq to choose a specific column from a datatable?
What is the meaning of the role being returned as 'undefined' in DiscordJS?
What is the process of obtaining a column name by using a given row and its corresponding value?