Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
gitlab-ci
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wpdesk
gitlab-ci
Commits
2f49c8ff
Commit
2f49c8ff
authored
4 years ago
by
Grzegorz Rola
Browse files
Options
Downloads
Patches
Plain Diff
feature(reportportal): export tests reports to reportportal
parent
aa050253
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
includes/tests/reportportal.yml
+9
-2
9 additions, 2 deletions
includes/tests/reportportal.yml
with
9 additions
and
2 deletions
includes/tests/reportportal.yml
+
9
−
2
View file @
2f49c8ff
...
...
@@ -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"'
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment