Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
344 B
1
Indexable
Never
jobs:
- ${{ if eq(parameters.environment, 'dev') }}:
  - job: BuildAndDeployDev
  - ${{ else if eq(parameters.environment, 'test') }}:
  - job: BuildAndDeployTest
  - ${{ else if eq(parameters.environment, 'prod') }}:
  - job: BuildAndDeployProd
  - ${{ else }}:
  - job: BuildAndDeployOther

  displayName: 'Build and Deploy to $(environment)'
Leave a Comment