incubator-cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject git commit: refs/heads/master - CLOUDSTACK-1340: Jenkins fails for changing directories, rvm sourcing fails
Date Thu, 28 Feb 2013 12:08:19 GMT
Updated Branches:
  refs/heads/master 54bfd7e04 -> e80ccea51


CLOUDSTACK-1340: Jenkins fails for changing directories, rvm sourcing fails

http://jenkins.cloudstack.org/job/build-systemvm-master/64/console

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/e80ccea5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/e80ccea5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/e80ccea5

Branch: refs/heads/master
Commit: e80ccea517d8d579c2852f57047944b7353d16e7
Parents: 54bfd7e
Author: Rohit Yadav <bhaisaab@apache.org>
Authored: Thu Feb 28 17:37:02 2013 +0530
Committer: Rohit Yadav <bhaisaab@apache.org>
Committed: Thu Feb 28 17:37:02 2013 +0530

----------------------------------------------------------------------
 tools/appliance/build.sh |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/e80ccea5/tools/appliance/build.sh
----------------------------------------------------------------------
diff --git a/tools/appliance/build.sh b/tools/appliance/build.sh
index 039369b..f0ac377 100644
--- a/tools/appliance/build.sh
+++ b/tools/appliance/build.sh
@@ -47,9 +47,8 @@ hdd_path=`vboxmanage list hdds | grep $appliance | grep vdi | cut -c 14-`
 vboxmanage modifyhd $hdd_uuid --compact
 
 # Start exporting
-rm -fr dist
+rm -fr dist *.ova *.vhd *.vdi *.qcow* *.bz2
 mkdir dist
-cd dist
 
 # Export for Xen
 vboxmanage internalcommands converttoraw "$hdd_path" raw.img
@@ -73,3 +72,5 @@ vboxmanage clonehd $hdd_uuid $appliance-$build_date-$branch-hyperv.vhd --format
 bzip2 $appliance-$build_date-$branch-hyperv.vhd
 echo "$appliance exported for HyperV: dist/$appliance-$build_date-$branch-hyperv.vhd.bz2"
 
+mv *.bz2 *.ova dist/
+


Mime
View raw message