mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Switch to next gen artifacts.
This commit is contained in:
parent
272691aacd
commit
ff373621b3
@ -66,32 +66,32 @@ jobs:
|
|||||||
# artifactName: 'jellyfin-build-$(BuildConfiguration)'
|
# artifactName: 'jellyfin-build-$(BuildConfiguration)'
|
||||||
# zipAfterPublish: true
|
# zipAfterPublish: true
|
||||||
|
|
||||||
- task: PublishBuildArtifacts@1
|
- task: PublishPipelineArtifact@0
|
||||||
displayName: 'Publish Artifact Naming'
|
displayName: 'Publish Artifact Naming'
|
||||||
condition: and(eq(variables['BuildConfiguration'], 'Release'), succeeded())
|
condition: and(eq(variables['BuildConfiguration'], 'Release'), succeeded())
|
||||||
inputs:
|
inputs:
|
||||||
PathtoPublish: '$(build.artifactstagingdirectory)/Jellyfin.Server/Emby.Naming.dll'
|
targetPath: '$(build.artifactstagingdirectory)/Jellyfin.Server/Emby.Naming.dll'
|
||||||
artifactName: 'Jellyfin.Naming'
|
artifactName: 'Jellyfin.Naming'
|
||||||
|
|
||||||
- task: PublishBuildArtifacts@1
|
- task: PublishPipelineArtifact@0
|
||||||
displayName: 'Publish Artifact Controller'
|
displayName: 'Publish Artifact Controller'
|
||||||
condition: and(eq(variables['BuildConfiguration'], 'Release'), succeeded())
|
condition: and(eq(variables['BuildConfiguration'], 'Release'), succeeded())
|
||||||
inputs:
|
inputs:
|
||||||
PathtoPublish: '$(build.artifactstagingdirectory)/Jellyfin.Server/MediaBrowser.Controller.dll'
|
targetPath: '$(build.artifactstagingdirectory)/Jellyfin.Server/MediaBrowser.Controller.dll'
|
||||||
artifactName: 'Jellyfin.Controller'
|
artifactName: 'Jellyfin.Controller'
|
||||||
|
|
||||||
- task: PublishBuildArtifacts@1
|
- task: PublishPipelineArtifact@0
|
||||||
displayName: 'Publish Artifact Model'
|
displayName: 'Publish Artifact Model'
|
||||||
condition: and(eq(variables['BuildConfiguration'], 'Release'), succeeded())
|
condition: and(eq(variables['BuildConfiguration'], 'Release'), succeeded())
|
||||||
inputs:
|
inputs:
|
||||||
PathtoPublish: '$(build.artifactstagingdirectory)/Jellyfin.Server/MediaBrowser.Model.dll'
|
targetPath: '$(build.artifactstagingdirectory)/Jellyfin.Server/MediaBrowser.Model.dll'
|
||||||
artifactName: 'Jellyfin.Model'
|
artifactName: 'Jellyfin.Model'
|
||||||
|
|
||||||
- task: PublishBuildArtifacts@1
|
- task: PublishPipelineArtifact@0
|
||||||
displayName: 'Publish Artifact Common'
|
displayName: 'Publish Artifact Common'
|
||||||
condition: and(eq(variables['BuildConfiguration'], 'Release'), succeeded())
|
condition: and(eq(variables['BuildConfiguration'], 'Release'), succeeded())
|
||||||
inputs:
|
inputs:
|
||||||
PathtoPublish: '$(build.artifactstagingdirectory)/Jellyfin.Server/MediaBrowser.Common.dll'
|
targetPath: '$(build.artifactstagingdirectory)/Jellyfin.Server/MediaBrowser.Common.dll'
|
||||||
artifactName: 'Jellyfin.Common'
|
artifactName: 'Jellyfin.Common'
|
||||||
|
|
||||||
- job: dotnet_compat
|
- job: dotnet_compat
|
||||||
@ -118,18 +118,20 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- checkout: none
|
- checkout: none
|
||||||
|
|
||||||
- task: DownloadBuildArtifacts@0
|
- task: DownloadPipelineArtifact@2
|
||||||
displayName: Download the Reference Assembly Build Artifact
|
displayName: Download the Reference Assembly Build Artifact
|
||||||
inputs:
|
inputs:
|
||||||
buildType: 'specific' # Options: current, specific
|
source: 'specific' # Options: current, specific
|
||||||
project: 'jellyfin' #$(System.TeamProjectId)' # Required when buildType == Specific
|
#preferTriggeringPipeline: false # Optional
|
||||||
pipeline: 'Jellyfin CI' #'$(System.DefinitionId)' # Required when buildType == Specific, not sure if this will take a name too
|
#tags: # Optional
|
||||||
#specificBuildWithTriggering: false # Optional
|
artifact: '$(NugetPackageName)' # Optional
|
||||||
buildVersionToDownload: 'latestFromBranch' # Required when buildType == Specific# Options: latest, latestFromBranch, specific
|
#patterns: '**' # Optional
|
||||||
branchName: '$(System.PullRequest.TargetBranch)' # Required when buildType == Specific && BuildVersionToDownload == LatestFromBranch
|
path: '$(System.ArtifactsDirectory)/current-artifacts'
|
||||||
downloadType: 'specific' # Options: single, specific
|
project: '$(System.TeamProjectId)' # Required when source == Specific
|
||||||
artifactName: '$(NugetPackageName)' # Required when downloadType == Single
|
pipeline: '$(System.DefinitionId)' # Required when source == Specific
|
||||||
downloadPath: '$(System.ArtifactsDirectory)/current-artifacts'
|
runVersion: 'latestFromBranch' # Required when source == Specific. Options: latest, latestFromBranch, specific
|
||||||
|
runBranch: 'refs/heads/$(System.PullRequest.TargetBranch)' # Required when source == Specific && runVersion == LatestFromBranch
|
||||||
|
#runId: # Required when source == Specific && runVersion == Specific
|
||||||
|
|
||||||
- task: CopyFiles@2
|
- task: CopyFiles@2
|
||||||
displayName: Copy Nuget Assembly to current-release folder
|
displayName: Copy Nuget Assembly to current-release folder
|
||||||
@ -141,14 +143,20 @@ jobs:
|
|||||||
overWrite: true # Optional
|
overWrite: true # Optional
|
||||||
flattenFolders: true # Optional
|
flattenFolders: true # Optional
|
||||||
|
|
||||||
- task: DownloadBuildArtifacts@0
|
- task: DownloadPipelineArtifact@2
|
||||||
displayName: Download the New Assembly Build Artifact
|
displayName: Download the New Assembly Build Artifact
|
||||||
inputs:
|
inputs:
|
||||||
buildType: 'current' # Options: current, specific
|
source: 'current' # Options: current, specific
|
||||||
allowPartiallySucceededBuilds: false # Optional
|
#preferTriggeringPipeline: false # Optional
|
||||||
downloadType: 'single' # Options: single, specific
|
#tags: # Optional
|
||||||
artifactName: '$(NugetPackageName)' # Required when downloadType == Single
|
artifact: '$(NugetPackageName)' # Optional
|
||||||
downloadPath: '$(System.ArtifactsDirectory)/new-artifacts'
|
#patterns: '**' # Optional
|
||||||
|
path: '$(System.ArtifactsDirectory)/new-artifacts'
|
||||||
|
#project: # Required when source == Specific
|
||||||
|
#pipeline: # Required when source == Specific
|
||||||
|
runVersion: 'latest' # Required when source == Specific. Options: latest, latestFromBranch, specific
|
||||||
|
#runBranch: 'refs/heads/master' # Required when source == Specific && runVersion == LatestFromBranch
|
||||||
|
#runId: # Required when source == Specific && runVersion == Specific
|
||||||
|
|
||||||
- task: CopyFiles@2
|
- task: CopyFiles@2
|
||||||
displayName: Copy Artifact Assembly to new-release folder
|
displayName: Copy Artifact Assembly to new-release folder
|
||||||
|
Loading…
x
Reference in New Issue
Block a user