Skip to content

Instantly share code, notes, and snippets.

@goyalmohit
Created July 27, 2019 19:53
Show Gist options
  • Save goyalmohit/2333daae58924c099ca3c3a1745be353 to your computer and use it in GitHub Desktop.
Save goyalmohit/2333daae58924c099ca3c3a1745be353 to your computer and use it in GitHub Desktop.
stages:
- stage: Build
jobs:
- job: Build
pool:
vmImage: 'Ubuntu-16.04'
continueOnError: true
steps:
- script: echo "hello to my first Build"
- stage: dev_deploy
jobs:
- deployment: dev_deploy
pool:
vmImage: 'Ubuntu-16.04'
environment: 'dev-hello'
strategy:
runOnce:
deploy:
steps:
- script: echo "hello, dev world !!!"
- stage: qa_deploy
jobs:
- deployment: qa_deploy
pool:
vmImage: 'Ubuntu-16.04'
environment: 'qa-hello'
strategy:
runOnce:
deploy:
steps:
- script: echo "hello, qa world !!!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment