@ -15,7 +15,7 @@ jobs:
pool:
pool:
vmImage : ubuntu-latest
vmImage : ubuntu-latest
steps:
steps:
- checkout : none
- task : DownloadPipelineArtifact@2
- task : DownloadPipelineArtifact@2
displayName : Download the Windows Setup Artifact
displayName : Download the Windows Setup Artifact
inputs:
inputs:
@ -31,9 +31,7 @@ jobs:
displayName : 'Create Drop directory'
displayName : 'Create Drop directory'
inputs:
inputs:
sshEndpoint : 'Jellyfin Build Server'
sshEndpoint : 'Jellyfin Build Server'
commands : |
commands : 'mkdir -p /srv/incoming/jellyfin_$(Version)/win-installer && ln -s /srv/incoming/jellyfin_$(Version) /srv/incoming/jellyfin_release_azure_upload'
mkdir -p /srv/incoming/jellyfin_$(Version)/win-installer
ln -s /srv/incoming/jellyfin_$(Version) /srv/incoming/jellyfin_nightly_azure_upload
- task : CopyFilesOverSSH@0
- task : CopyFilesOverSSH@0
displayName : 'Copy the Windows Setup to the Repo'
displayName : 'Copy the Windows Setup to the Repo'
@ -41,10 +39,10 @@ jobs:
sshEndpoint : 'Jellyfin Build Server'
sshEndpoint : 'Jellyfin Build Server'
sourceFolder : '$(System.ArtifactsDirectory)/win-installer'
sourceFolder : '$(System.ArtifactsDirectory)/win-installer'
contents : 'jellyfin_*.exe'
contents : 'jellyfin_*.exe'
targetFolder : '/srv/incoming/jellyfin_ nightly _azure_upload/win-installer'
targetFolder : '/srv/incoming/jellyfin_ release _azure_upload/win-installer'
- task : SSH@0
- task : SSH@0
displayName : 'Clean up SCP symlink'
displayName : 'Clean up SCP symlink'
inputs:
inputs:
sshEndpoint : 'Jellyfin Build Server'
sshEndpoint : 'Jellyfin Build Server'
commands : 'rm -f /srv/incoming/jellyfin_ nightly _azure_upload'
commands : 'rm -f /srv/incoming/jellyfin_ release _azure_upload'