Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-60593

Unable to run a background process using sshCommand

XMLWordPrintable

      I'm trying to run the below command as background process and it seems successful, but it doesn't create any log file mentioned in the command.

      sshCommand remote: remote, failOnError: true, command: 'sar 2 10 -r > sar-mem.log &', sudo: true

            nrayapati Naresh Rayapati
            kmadan Madan Kv
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: