I raised with as a question in the AWS forum as well.
https://forums.aws.amazon.com/thread.jspa?threadID=182760&tstart=0
Later I found out it could be done using the "nohup" command as follows:
The maven build command is highlighted in yellow.
nohup mvn -Dmaven.test.failure.ignore=true test </dev/null > unit-test.log 2>&1 &
- http://askubuntu.com/questions/349262/run-a-nohup-command-over-ssh-then-disconnect
- http://www.cyberciti.biz/tips/nohup-execute-commands-after-you-exit-from-a-shell-prompt.html
When you log into the instance again use the following command to see the Unit Test output:
tail -f -n 20 unit-test.log
No comments:
Post a Comment