Updated Branches: refs/heads/4.0 6c6d9bb89 -> 53a3c2f17
DevCloud: Make sure destination paths exists before scp Makes dirs if they are not present before scp-ing target/ and dist/ to devcloud. Signed-off-by: Rohit Yadav <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/53a3c2f1 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/53a3c2f1 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/53a3c2f1 Branch: refs/heads/4.0 Commit: 53a3c2f171dfea5de6e0cda2ae3317560ecd91f5 Parents: 6c6d9bb Author: Rohit Yadav <[email protected]> Authored: Tue Oct 16 21:38:05 2012 +0530 Committer: Rohit Yadav <[email protected]> Committed: Tue Oct 16 21:38:05 2012 +0530 ---------------------------------------------------------------------- build/build-devcloud.xml | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/53a3c2f1/build/build-devcloud.xml ---------------------------------------------------------------------- diff --git a/build/build-devcloud.xml b/build/build-devcloud.xml index a001dc2..d5a6fb8 100644 --- a/build/build-devcloud.xml +++ b/build/build-devcloud.xml @@ -80,12 +80,14 @@ </scp> <echo message="copying target folder to remote"/> + <sshexec trust="yes" host="${host}" port="${port}" username="root" password="password" command="cd /opt/cloudstack/incubator-cloudstack; mkdir -p target"/> <scp trust="yes" port="${port}" todir="root:password@${host}:/opt/cloudstack/incubator-cloudstack/target"> <fileset dir="target"> </fileset> </scp> <echo message="copying dist folder to remote"/> + <sshexec trust="yes" host="${host}" port="${port}" username="root" password="password" command="cd /opt/cloudstack/incubator-cloudstack; mkdir -p dist"/> <scp trust="yes" port="${port}" todir="root:password@${host}:/opt/cloudstack/incubator-cloudstack/dist"> <fileset dir="dist"> </fileset>
