Prevent second logs collection for OVB jobs

Closes-Bug: #1815048
Change-Id: I6d15291846a884e951b2535099bbfe1230d9473f
This commit is contained in:
Sagi Shnaidman 2019-02-07 15:40:34 +02:00
parent a269ff0181
commit 75ff68608b
1 changed files with 1 additions and 0 deletions

View File

@ -172,6 +172,7 @@ done
{% if environment_type == "ovb" -%}
echo "Running collect logs now, before the nodes are destryed by te broker"
/usr/bin/timeout --preserve-status 40m bash $LOGS_DIR/collect_logs.sh > $LOGS_DIR/quickstart_collect_logs.log
mv $LOGS_DIR/collect_logs.sh $LOGS_DIR/ovb_collect_logs.sh
{% else %}
echo "Running Collect Logs in post"
{% endif %}