4 [[ "$PUSH_RESULTS_TO_DB" == "true" ]] && flags+="-r"
5 cmd="run_tests -t all ${flags}"
7 container_id=$(docker ps -a | grep opnfv/functest | awk '{print $1}' | head -1)
8 docker exec $container_id $cmd
11 ret_val_file="${HOME}/opnfv/functest/results/${BRANCH##*/}/return_value"
12 echo ${ret_value}>${ret_val_file}