From 1bd83479aaef635afbe12f05343d5ea863372fb2 Mon Sep 17 00:00:00 2001 From: zhuwenxing Date: Wed, 25 Aug 2021 15:11:52 +0800 Subject: [PATCH] Integrate reportportal into nightly CI (#7246) Signed-off-by: zhuwenxing --- build/ci/jenkins/NightlyCI.groovy | 2 +- tests/python_client/pytest.ini | 6 ++++++ tests/python_client/requirements.txt | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/build/ci/jenkins/NightlyCI.groovy b/build/ci/jenkins/NightlyCI.groovy index 18817869c0..62d6f8b713 100644 --- a/build/ci/jenkins/NightlyCI.groovy +++ b/build/ci/jenkins/NightlyCI.groovy @@ -78,7 +78,7 @@ pipeline { --install-extra-arg "--set etcd.enabled=false --set externalEtcd.enabled=true --set externalEtcd.endpoints={\$KRTE_POD_IP:2379}" \ --skip-export-logs \ --skip-cleanup \ - --test-extra-arg "--tags smoke L0 L1 L2" \ + --test-extra-arg "--tags smoke L0 L1 L2 --reportportal" \ --test-timeout ${e2e_timeout_seconds} """ // } else if ("${MILVUS_CLIENT}" == "pymilvus-orm") { diff --git a/tests/python_client/pytest.ini b/tests/python_client/pytest.ini index 55aa80c97f..73b666ada5 100644 --- a/tests/python_client/pytest.ini +++ b/tests/python_client/pytest.ini @@ -8,5 +8,11 @@ addopts = --ip localhost --host localhost --html=/tmp/ci_logs/report.html --self log_format = [%(asctime)s - %(levelname)s - %(name)s]: %(message)s (%(filename)s:%(lineno)s) log_date_format = %Y-%m-%d %H:%M:%S +rp_endpoint = https://reportportal.zilliz.cc +rp_uuid = bc426136-4ed0-4a87-a20c-0ab64426bb8a +rp_launch = Nightly_CI +rp_project = milvus +rp_ignore_errors = True + filterwarnings = ignore::DeprecationWarning \ No newline at end of file diff --git a/tests/python_client/requirements.txt b/tests/python_client/requirements.txt index 5035cc257f..73bb27d208 100644 --- a/tests/python_client/requirements.txt +++ b/tests/python_client/requirements.txt @@ -24,3 +24,4 @@ delayed-assert kubernetes==17.17.0 PyYAML==5.4.1 pytest-sugar==0.9.4 +pytest-reportportal==5.0.10