Testing using different variable syntax for condition.
This commit is contained in:
parent
b8641cb62a
commit
b0646d26ef
1 changed files with 5 additions and 5 deletions
|
@ -74,11 +74,11 @@ parameters:
|
|||
# default: $[replace(replace('True', eq(variables['OneESPT'], true), '1ES.PublishBuildArtifacts@1'), 'True', 'PublishBuildArtifacts@1')]
|
||||
|
||||
jobs:
|
||||
- template: common/templates-official/job/job.yml
|
||||
# - ${{ if eq(variables['OneESPT'], true) }}:
|
||||
# template: common/templates-official/job/job.yml
|
||||
# ${{ else }}:
|
||||
# template: common/templates/job/job.yml
|
||||
# - template: common/templates-official/job/job.yml
|
||||
- ${{ if variables.OneESPT }}:
|
||||
template: common/templates-official/job/job.yml
|
||||
${{ else }}:
|
||||
template: common/templates/job/job.yml
|
||||
parameters:
|
||||
# Set up the name of the job.
|
||||
${{ if parameters.pgoInstrument }}:
|
||||
|
|
Loading…
Reference in a new issue