put built artifacts in an accessible directory

This commit is contained in:
Matt 2020-08-13 09:10:03 -04:00
parent 29c2f6126a
commit e75e3402af

View file

@ -23,13 +23,13 @@ steps:
includeRootFolder: False includeRootFolder: False
archiveType: 'zip' archiveType: 'zip'
tarCompression: 'none' tarCompression: 'none'
archiveFile: 'plugin.video.jellyfin-${{ py_version }}.zip' archiveFile: '$(Build.ArtifactStagingDirectory)/plugin.video.jellyfin-${{ py_version }}.zip'
- task: CopyFilesOverSSH@0 - task: CopyFilesOverSSH@0
displayName: 'Upload to repo server' displayName: 'Upload to repo server'
inputs: inputs:
sshEndpoint: repository sshEndpoint: repository
sourceFolder: '${Agent.BuildDirectory}' sourceFolder: '$(Build.ArtifactStagingDirectory)'
contents: 'plugin.video.jellyfin-${{ py_version }}.zip' contents: 'plugin.video.jellyfin-${{ py_version }}.zip'
targetFolder: '/srv/repository/incoming/kodi' targetFolder: '/srv/repository/incoming/kodi'
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags') condition: startsWith(variables['Build.SourceBranch'], 'refs/tags')