Explorar o código

Reverse order of sudo and nohup

Otherwise I'm forced to allow `sudo nohup` globally which is bad news
bears.
Joshua M. Boniface %!s(int64=4) %!d(string=hai) anos
pai
achega
a4e67dac80
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      .ci/azure-pipelines-package.yml

+ 2 - 2
.ci/azure-pipelines-package.yml

@@ -166,7 +166,7 @@ jobs:
     inputs:
       sshEndpoint: repository
       runOptions: 'commands'
-      commands: sudo nohup /srv/repository/collect-server.azure.sh /srv/repository/incoming/azure $(Build.BuildNumber) unstable &
+      commands: nohup sudo /srv/repository/collect-server.azure.sh /srv/repository/incoming/azure $(Build.BuildNumber) unstable &
 
   - task: SSH@0
     displayName: 'Update Stable Repository'
@@ -175,7 +175,7 @@ jobs:
     inputs:
       sshEndpoint: repository
       runOptions: 'commands'
-      commands: sudo nohup /srv/repository/collect-server.azure.sh /srv/repository/incoming/azure $(Build.BuildNumber) &
+      commands: nohup sudo /srv/repository/collect-server.azure.sh /srv/repository/incoming/azure $(Build.BuildNumber) &
 
 - job: PublishNuget
   displayName: 'Publish NuGet packages'