summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-09-21 16:50:13 +0200
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-09-21 18:23:17 +0000
commita7b0143bfc579a7a6a1b63ebf3f7ab84f9a2960f (patch)
tree93b64b24968be465f0086b5fee0929c9c6e22c90
parent13a4f17225b02197aec5b453acf008251b9003bf (diff)
[deploy] Collect logs only if cluster is deployed
Change-Id: Iaa60008e234a506b05e7b5249c85fd1d6fa63d56 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 6113e8019274c8a0c1eb4b7a49353ecbbd47dcfe)
-rwxr-xr-xci/deploy.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh
index 3a0f9f9e5..5fb8c43a6 100755
--- a/ci/deploy.sh
+++ b/ci/deploy.sh
@@ -338,9 +338,9 @@ else
reset_vms "${virtual_nodes[@]}"
fi
done
-fi
-./log.sh "${DEPLOY_LOG}"
+ ./log.sh "${DEPLOY_LOG}"
+fi
popd > /dev/null