Skip to content

Commit e80ccea

Browse files
committed
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>
1 parent 54bfd7e commit e80ccea

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tools/appliance/build.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,8 @@ hdd_path=`vboxmanage list hdds | grep $appliance | grep vdi | cut -c 14-`
4747
vboxmanage modifyhd $hdd_uuid --compact
4848

4949
# Start exporting
50-
rm -fr dist
50+
rm -fr dist *.ova *.vhd *.vdi *.qcow* *.bz2
5151
mkdir dist
52-
cd dist
5352

5453
# Export for Xen
5554
vboxmanage internalcommands converttoraw "$hdd_path" raw.img
@@ -73,3 +72,5 @@ vboxmanage clonehd $hdd_uuid $appliance-$build_date-$branch-hyperv.vhd --format
7372
bzip2 $appliance-$build_date-$branch-hyperv.vhd
7473
echo "$appliance exported for HyperV: dist/$appliance-$build_date-$branch-hyperv.vhd.bz2"
7574

75+
mv *.bz2 *.ova dist/
76+

0 commit comments

Comments
 (0)