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
d9c80b38
Commit
d9c80b38
authored
4 years ago
by
Grzegorz Rola
Browse files
Options
Downloads
Patches
Plain Diff
feature(reportportal): export tests reports to reportportal
parent
eda48605
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
includes/tests/codeception.yml
+4
-4
4 additions, 4 deletions
includes/tests/codeception.yml
with
4 additions
and
4 deletions
includes/tests/codeception.yml
+
4
−
4
View file @
d9c80b38
...
...
@@ -71,9 +71,9 @@
after_script
:
-
rm -r ${APACHE_DOCUMENT_ROOT}
-
cd tests/codeception/tests/_output
-
export FILE_NAME=${CI_PROJECT_NAME}-codeception
-${CI_COMMIT_REF_NAME}
.zip
-
export FILE_NAME=${CI_PROJECT_NAME}-codeception.zip
-
zip ${FILE_NAME} report.xml
-
'
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
\
"'
-
'
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"'
codeception test
:
<<
:
*job-codeception-test
...
...
@@ -106,6 +106,6 @@ codeception test recorded manual:
-
rm -r ${APACHE_DOCUMENT_ROOT}
-
'
curl
-X
POST
--data-urlencode
"payload={\"text\":
\"Testy
projektu
<https://gitlab.com/wpdesk/${CI_PROJECT_NAME}|${CI_PROJECT_NAME}>
zostały
wykonane.
<https://wpdesk.gitlab.io/-/${CI_PROJECT_NAME}/-/jobs/${CI_JOB_ID}/artifacts/tests/codeception/tests/_output/records.html|Zapis
testu>\",
}"
https://hooks.slack.com/services/${SLACK_AUTH}'
-
cd tests/codeception/tests/_output
-
export FILE_NAME=${CI_PROJECT_NAME}-codeception
-${CI_COMMIT_REF_NAME}
.zip
-
export FILE_NAME=${CI_PROJECT_NAME}-codeception.zip
-
zip ${FILE_NAME} report.xml
-
'
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
\
"'
-
'
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