Use stages in Azure Pipelines

This commit is contained in:
Paulchen Panther 2020-04-17 18:15:33 +02:00
parent 10f11c2d89
commit 9ca197ea78
1 changed files with 137 additions and 130 deletions

View File

@ -1,3 +1,7 @@
stages:
- stage: Build
displayName: Build packages
jobs: jobs:
###################### ######################
@ -99,12 +103,15 @@ jobs:
###### Publish Releases ######## ###### Publish Releases ########
################################ ################################
- stage: Publish
displayName: Publish Releases
dependsOn:
- Build
condition: and(succeeded('Build'), ne(variables['system.pullrequest.isfork'], true), startsWith(variables['Build.SourceBranch'], 'refs/tags/'))
jobs:
- job: PublishReleases - job: PublishReleases
timeoutInMinutes: 120 timeoutInMinutes: 120
dependsOn:
- Linux
- macOS
condition: and(succeeded(), ne(variables['system.pullrequest.isfork'], true), startsWith(variables['Build.SourceBranch'], 'refs/tags/'))
pool: pool:
vmImage: ubuntu-16.04 vmImage: ubuntu-16.04