Details
-
Bug
-
Resolution: Invalid
-
Low
-
None
-
None
-
None
-
None
Description
Summary
When creating a SSH key to a remote machine it sometimes hangs when using a certain combination of commands on the remote host.
Steps to Reproduce
- Create a SSH task
- On the commands define something like that:
sudo su - user ls /tools/eai/stage tname=`ls /tools/eai/stage/deployagent*-bin.tar.gz` echo $tname cd /tools/eai/scripts/deployagent rm -vrf * > /dev/null/ 2>&1 tar xvf $tname > /dev/null 2>&1 rm $tname > /dev/null 2>&1
- Run the build
Expected Results
Task runs, commands run and finish and the build either succeeds or fails.
Actual Results
The build hangs and spins indefinitely.
Workaround
Wrap the commands above inside a script and run it like:
nohup ./yourscript.sh </dev/null>/dev/null 2>&1 &