浏览代码

Merge the args and commands item for the artifact collection

Erwin de Haan 4 年之前
父节点
当前提交
25daa7db42
共有 1 个文件被更改,包括 3 次插入5 次删除
  1. 3 5
      .ci/azure-pipelines-package.yml

+ 3 - 5
.ci/azure-pipelines-package.yml

@@ -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: