JIRA: DOVETAIL-353
JIRA: DOVETAIL-354
related patch: https://gerrit.opnfv.org/gerrit/#/c/29049/
Change-Id: Ic871abbda62dead7cf5e23e6117c9885d637c7fb
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
MAINTAINER Leo Wang <grakiss.wanglei@huawei.com>
LABEL version="0.1" description="OPNFV Dovetail Docker Container"
-ARG BRANCH=master
-
RUN \
apt-get update \
&& \
RUN \
git config --global http.sslVerify false \
&& \
- git clone --depth 1 -b $BRANCH https://git.opnfv.org/dovetail ${REPOS_DIR} \
+ git clone https://git.opnfv.org/dovetail ${REPOS_DIR} \
&& \
mkdir -p ${REPOS_DIR}/results \
&& \
@staticmethod
def check(testcase, result):
if not result:
- testcase.passed(False)
+ testcase.passed('FAIL')
else:
- testcase.passed(result['criteria'] == 'PASS')
+ testcase.passed(result['criteria'])
return