Make the error code diffrent between running error and sla error

We could decide to go running or stop our tasks by the different
error code.

Change-Id: If9e76858b3644127263270fc799e8df0b78b6c19
This commit is contained in:
chenhb 2017-11-30 15:19:23 +08:00
parent d060985f7e
commit ff716f4003

View File

@ -119,7 +119,13 @@ function run () {
$PYTHON $RALLY_DIR/tests/ci/osresources.py --dump-list resources_at_start.txt
set +e
rally --rally-debug task start --task $TASK $TASK_ARGS
retval=$?
if [[ $? -eq 1 ]]; then
exit $retval
fi
set -e
mkdir -p rally-plot/extra
$PYTHON $RALLY_DIR/tests/ci/render.py ci/index.html > rally-plot/extra/index.html