diff options
author | Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com> | 2015-10-19 12:38:51 +0200 |
---|---|---|
committer | Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com> | 2015-10-19 12:43:35 +0200 |
commit | 29f17851a41d5eb6f9bd86c9c022c6d6bc8f901a (patch) | |
tree | 4a920a328654a50fa33b206ee91bc4e504b08b67 /jjb/yardstick | |
parent | e9adfe06e84afddffcff7c51f212105109850e34 (diff) |
Add cleanup to yardstick daily job
Change-Id: Ic694c9d9e042251fbcce22fdf241504804d4f51d
JIRA:-
Signed-off-by: Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com>
Diffstat (limited to 'jjb/yardstick')
-rw-r--r-- | jjb/yardstick/yardstick.yml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/jjb/yardstick/yardstick.yml b/jjb/yardstick/yardstick.yml index 7d7a6b7b7..0ce9fd853 100644 --- a/jjb/yardstick/yardstick.yml +++ b/jjb/yardstick/yardstick.yml @@ -198,7 +198,7 @@ publishers: - email: - recipients: ana.cunha@ericsson.com + recipients: ana.cunha@ericsson.com jorgen.w.karlsson@ericsson.com ######################## # builder macros @@ -213,6 +213,12 @@ echo "Yardstick: Run benchmark test suites ..." + # Remove old containers + docker ps | grep opnfv/yardstick-ci |\ + awk '{print $1}' | xargs -r docker stop &>/dev/null + docker ps -a | grep opnfv/yardstick-ci |\ + awk '{print $1}' | xargs -r docker rm &>/dev/null + # Make sure we have latest image docker pull opnfv/yardstick-ci |