mirror of https://github.com/apache/cloudstack.git
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>
This commit is contained in:
parent
54bfd7e04a
commit
e80ccea517
|
|
@ -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/
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue