summaryrefslogtreecommitdiffstats
path: root/ci/build_rpm
diff options
context:
space:
mode:
authorJulien <zhang.jun3g@zte.com.cn>2016-12-07 15:57:43 +0800
committerJulien <zhang.jun3g@zte.com.cn>2016-12-12 11:01:18 +0800
commita5276fa675a4ccd32f592ea2a3d28a4f85fb0109 (patch)
tree05d0c4433e69f27ad6809b6cd839278302282c2f /ci/build_rpm
parent4f35bbabe430b7f63cf22e798cc2eb6a6dfe02d3 (diff)
Miss call cleanup_docker_image
1. The function 'cleanup_docker_image' is not called by mistake. 2. Use 'docker run --rm' means: docker will automatically delete the containers. It's not necessary to call it in the end of bash file. according to the log: 'No containers to cleanup.' Change-Id: I67b9ff3ed193467669b80d5a19e36fd077af537d Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
Diffstat (limited to 'ci/build_rpm')
-rwxr-xr-xci/build_rpm/build_rpms.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/ci/build_rpm/build_rpms.sh b/ci/build_rpm/build_rpms.sh
index 279340cd..c7bcf245 100755
--- a/ci/build_rpm/build_rpms.sh
+++ b/ci/build_rpm/build_rpms.sh
@@ -58,6 +58,5 @@ function cleanup_docker_image {
}
cleanup_container
+cleanup_docker_image
build_rpm_pkg
-cleanup_container
-