f-angi
5/20/2016 - 8:43 AM

copies a file to a remote server and executes a command afterwards

copies a file to a remote server and executes a command afterwards

scp target/*.war root@lr1-test.arag.it:/opt/liferay/current/deploy && ssh root@lr1-test.arag.it 'chown liferay:liferay /opt/liferay/current/deploy/*'