From 0c91ab1bb5f85e260dbdb26bc97af5813b038b21 Mon Sep 17 00:00:00 2001 From: Grzegorz Rola <grola@seostudio.pl> Date: Thu, 10 Jun 2021 20:38:04 +0200 Subject: [PATCH] feature(reportportal): export tests reports to reportportal --- includes/tests/reportportal.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/tests/reportportal.yml b/includes/tests/reportportal.yml index 84920f1..12aec28 100644 --- a/includes/tests/reportportal.yml +++ b/includes/tests/reportportal.yml @@ -17,11 +17,11 @@ reportportal unit tests latest: before_script: - export BRANCH=other script: - - cd ${PROJECT_DIR}/tmp_artifacts + - cd ${CI_PROJECT_DIR}/tmp_artifacts - export FILE_NAME=${CI_PROJECT_NAME}-unit-${BRANCH}.xml - cp unit.xml ${FILE_NAME} - 'curl -X POST "http://195.201.225.204:8080/api/v1/wpdesk/launch/import" -H "accept: */*" -H "Content-Type: multipart/form-data" -H "Authorization: bearer 5669a426-def1-4fa9-b563-72cf2ab84336" -F "file=@${FILE_NAME};type=text/xml"' - - cd ${PROJECT_DIR}/tests/codeception/tests/_output + - cd ${CI_PROJECT_DIR}/tests/codeception/tests/_output - export FILE_NAME=${CI_PROJECT_NAME}-codeception-${BRANCH}.xml - cp unit.xml ${FILE_NAME} - 'curl -X POST "http://195.201.225.204:8080/api/v1/wpdesk/launch/import" -H "accept: */*" -H "Content-Type: multipart/form-data" -H "Authorization: bearer 5669a426-def1-4fa9-b563-72cf2ab84336" -F "file=@${FILE_NAME};type=text/xml"' -- GitLab