[JIRA] (JENKINS-60593) Unable to run a background process using sshCommand

10 views
Skip to first unread message

kmadan@live.in (JIRA)

unread,
Dec 27, 2019, 3:41:03 AM12/27/19
to jenkinsc...@googlegroups.com
Madan Kv created an issue
 
Jenkins / Bug JENKINS-60593
Unable to run a background process using sshCommand
Issue Type: Bug Bug
Assignee: Naresh Rayapati
Components: ssh-steps-plugin
Created: 2019-12-27 08:40
Environment: Linux 2.6.32-754.14.2.el6.x86_64
Jenkins ver. 2.150.3
Labels: ssh-steps-plugin sshCommand backgroundprocess
Priority: Minor Minor
Reporter: Madan Kv

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

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

naresh.rayapati@gmail.com (JIRA)

unread,
Jan 28, 2020, 10:18:02 PM1/28/20
to jenkinsc...@googlegroups.com
Naresh Rayapati commented on Bug JENKINS-60593
 
Re: Unable to run a background process using sshCommand

Can you debug more and provide some inputs, like can you try run that command without sudo and see if that works, or try some other command and provide more information?

naresh.rayapati@gmail.com (JIRA)

unread,
Apr 3, 2020, 5:20:03 PM4/3/20
to jenkinsc...@googlegroups.com
Naresh Rayapati closed an issue as Cannot Reproduce
 
Change By: Naresh Rayapati
Status: Open Closed
Resolution: Cannot Reproduce
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

naresh.rayapati@gmail.com (JIRA)

unread,
Apr 3, 2020, 5:20:04 PM4/3/20
to jenkinsc...@googlegroups.com
 
Re: Unable to run a background process using sshCommand

Closing as there isn't much activity on this PR. Please reopen if you are still facing this issue and have more information. Thank you for logging an issue.

Reply all
Reply to author
Forward
0 new messages