Update azure-pipelines.yml for Azure Pipelines

pull/947/head
Erwin de Haan 6 years ago
parent 480999e8e6
commit 7c9803e135

@ -1,11 +1,10 @@
pr:
autoCancel: true
name: Build
trigger:
batch: true
branches:
include:
- master
resources:
repositories:
- repository: self
type: github
name: EraYaN/jellyfin
pool:
vmImage: ubuntu-16.04
@ -16,6 +15,15 @@ variables:
- name: RestoreBuildProjects
value: 'Jellyfin.Server/Jellyfin.Server.csproj'
pr:
autoCancel: true
trigger:
batch: true
branches:
include:
- master
#Your build pipeline references the BuildConfiguration variable, which youve selected to be settable at queue time. Create or edit the build pipeline for this YAML file, define the variable on the Variables tab, and then select the option to make it settable at queue time. See https://go.microsoft.com/fwlink/?linkid=865971
jobs:
@ -53,7 +61,7 @@ jobs:
publishWebProjects: false
projects: '$(RestoreBuildProjects)'
arguments: '--configuration $(BuildConfiguration) --output $(build.artifactstagingdirectory)'
zipAfterPublish: True
zipAfterPublish: true
- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact'
@ -61,7 +69,3 @@ jobs:
PathtoPublish: '$(build.artifactstagingdirectory)'
artifactName: 'build-$(BuildConfiguration)'
zipAfterPublish: false

Loading…
Cancel
Save