Switched to latest ubuntu image and hardcoded definitionId.

This commit is contained in:
Erwin de Haan 2019-07-05 11:17:48 +02:00
parent 268fe5efe8
commit 3462147195

View File

@ -16,7 +16,7 @@ jobs:
- job: main_build - job: main_build
displayName: Main Build displayName: Main Build
pool: pool:
vmImage: ubuntu-16.04 vmImage: ubuntu-latest
strategy: strategy:
matrix: matrix:
release: release:
@ -97,9 +97,9 @@ jobs:
- job: dotnet_compat - job: dotnet_compat
displayName: Compatibility Check displayName: Compatibility Check
pool: pool:
vmImage: ubuntu-16.04 vmImage: ubuntu-latest
dependsOn: main_build dependsOn: main_build
condition: false #and(succeeded(), variables['System.PullRequest.PullRequestNumber']) # Only execute if the pullrequest numer is defined. (So not for normal CI builds) condition: and(succeeded(), variables['System.PullRequest.PullRequestNumber']) # Only execute if the pullrequest numer is defined. (So not for normal CI builds)
strategy: strategy:
matrix: matrix:
Naming: Naming:
@ -122,8 +122,8 @@ jobs:
displayName: Download the Reference Assembly Build Artifact displayName: Download the Reference Assembly Build Artifact
inputs: inputs:
buildType: 'specific' # Options: current, specific buildType: 'specific' # Options: current, specific
project: '$(System.TeamProjectId)' # Required when buildType == Specific project: 'jellyfin' #$(System.TeamProjectId)' # Required when buildType == Specific
pipeline: '$(System.DefinitionId)' # Required when buildType == Specific, not sure if this will take a name too pipeline: 1 #'$(System.DefinitionId)' # Required when buildType == Specific, not sure if this will take a name too
#specificBuildWithTriggering: false # Optional #specificBuildWithTriggering: false # Optional
buildVersionToDownload: 'latestFromBranch' # Required when buildType == Specific# Options: latest, latestFromBranch, specific buildVersionToDownload: 'latestFromBranch' # Required when buildType == Specific# Options: latest, latestFromBranch, specific
branchName: 'refs/heads/$(System.PullRequest.TargetBranch)' # Required when buildType == Specific && BuildVersionToDownload == LatestFromBranch branchName: 'refs/heads/$(System.PullRequest.TargetBranch)' # Required when buildType == Specific && BuildVersionToDownload == LatestFromBranch