Skip to content
Snippets Groups Projects
Commit 2f49c8ff authored by Grzegorz Rola's avatar Grzegorz Rola
Browse files

feature(reportportal): export tests reports to reportportal

parent aa050253
No related branches found
No related tags found
No related merge requests found
......@@ -12,10 +12,17 @@ reportportal unit tests latest:
needs:
- job: unit test lastest manual
artifacts: true
- job: codeception test manual
artifacts: true
script:
- cd tmp_artifacts
- cd ${PROJECT_DIR}/tmp_artifacts
- export BRANCH=other
- 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
- export BRANCH=other
- export FILE_NAME=${CI_PROJECT_NAME}-${BRANCH}-unit.xml
- 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"'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment