exectuing multiple commands using ant (exec)
Hi All,
I have my Jazz Team Server setup in a AIX machine and I am trying to run builds now. I am trying to run the following commands. ssh machine_name (ssh to a machine) cd /path_to_executable (in the newly logged in machine cd to a particular location) perl hello.pl (run a script in the new path) I want to be able to run these commands in ant(build.xml). To avoid password prompt during ssh, I have followed the this setup of passwordless ssh : http://edaweb.fishkill.ibm.com/twiki/bin/view/DeckBuilder/HowToMultiSiteSSH. Will I be able to use ant 'exec' task to run these? Could someone please suggest what can be done? Thanks. |
One answer
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.