Last active
June 2, 2020 17:09
-
-
Save quickstep25/82315e2df55c5f25f9cc96976606ea9f to your computer and use it in GitHub Desktop.
Azure DevOps Build / Release / Deploy Stage Pipeline
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stages: | |
- stage: Build | |
jobs: | |
- job: Build | |
pool: | |
vmImage: 'Ubuntu-16.04' | |
continueOnError: true | |
steps: | |
- script: echo my first build job | |
- stage: Deploy | |
jobs: | |
# track deployments on the environment | |
- deployment: DeployWeb | |
pool: | |
vmImage: 'Ubuntu-16.04' | |
# creates an environment if it doesn’t exist | |
environment: 'smarthotel-dev' | |
strategy: | |
# default deployment strategy | |
runOnce: | |
deploy: | |
steps: | |
- script: echo my first deployment |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment