Merge the args and commands item for the artifact collection

This commit is contained in:
Erwin de Haan 2020-08-04 22:35:23 +02:00 committed by GitHub
parent 7368cbbd2f
commit 25daa7db42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -133,8 +133,7 @@ jobs:
inputs:
sshEndpoint: repository
runOptions: 'commands'
commands: sudo -n /srv/repository/collect-server.azure.sh
args: /srv/repository/incoming/azure $(Build.BuildNumber) unstable
commands: sudo -n /srv/repository/collect-server.azure.sh /srv/repository/incoming/azure $(Build.BuildNumber) unstable
- task: SSH@0
displayName: 'Update Stable Repository'
@ -142,9 +141,8 @@ jobs:
inputs:
sshEndpoint: repository
runOptions: 'commands'
commands: sudo -n /srv/repository/collect-server.azure.sh
args: /srv/repository/incoming/azure $(Build.BuildNumber)
commands: sudo -n /srv/repository/collect-server.azure.sh /srv/repository/incoming/azure $(Build.BuildNumber)
- job: PublishNuget
displayName: 'Publish NuGet packages'
dependsOn: