You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bh...@apache.org on 2014/09/22 21:44:42 UTC
[43/50] git commit: updated refs/heads/master to 1290e10
CLOUDSTACK-7143: only archive the zipped hyperv image
Cherry-pick of d09acc44f2b36cd593ebe97ab1673b7757ea2c25.
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/115b2cf8
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/115b2cf8
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/115b2cf8
Branch: refs/heads/master
Commit: 115b2cf8e7b41322ebe1431a15d0944c106c2d2f
Parents: d56e950
Author: Leo Simons <ls...@schubergphilis.com>
Authored: Thu Jul 31 15:23:18 2014 +0200
Committer: Rohit Yadav <ro...@shapeblue.com>
Committed: Mon Sep 22 21:38:17 2014 +0200
----------------------------------------------------------------------
tools/appliance/build.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/115b2cf8/tools/appliance/build.sh
----------------------------------------------------------------------
diff --git a/tools/appliance/build.sh b/tools/appliance/build.sh
index e3197e8..db21dad 100755
--- a/tools/appliance/build.sh
+++ b/tools/appliance/build.sh
@@ -497,7 +497,8 @@ function hyperv_export() {
# HyperV doesn't support import a zipped image from S3,
# but we create a zipped version to save space on the jenkins box
zip "${appliance_build_name}-hyperv.vhd.zip" "${appliance_build_name}-hyperv.vhd"
- mv "${appliance_build_name}-hyperv.vhd.zip" "${appliance_build_name}-hyperv.vhd" dist/
+ add_on_exit rm "${appliance_build_name}-hyperv.vhd"
+ mv "${appliance_build_name}-hyperv.vhd.zip" dist/
log INFO "${appliance} exported for HyperV: dist/${appliance_build_name}-hyperv.vhd.zip"
}