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
e6a1835e
Commit
e6a1835e
authored
2 years ago
by
Grzegorz Rola
Browse files
Options
Downloads
Patches
Plain Diff
bugfix(codeception): debug.log in artifacts
parent
c174e3d3
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
includes/tests/codeception-smoke.yml
+2
-2
2 additions, 2 deletions
includes/tests/codeception-smoke.yml
includes/tests/codeception.yml
+2
-2
2 additions, 2 deletions
includes/tests/codeception.yml
with
4 additions
and
4 deletions
includes/tests/codeception-smoke.yml
+
2
−
2
View file @
e6a1835e
...
...
@@ -26,8 +26,6 @@
name
:
"
acceptance
logs"
paths
:
-
tests/codeception/tests/_output
-
${APACHE_DOCUMENT_ROOT}/wp-content/debug.log
-
${APACHE_DOCUMENT_ROOT}/wp-content/uploads/wpdesk-logs/wpdesk_debug.log
reports
:
junit
:
tests/codeception/tests/_output/report.xml
stage
:
smoke-tests
...
...
@@ -68,6 +66,8 @@
script
:
-
vendor/bin/codecept run --steps --xml --html -f --verbose
after_script
:
-
cp ${APACHE_DOCUMENT_ROOT}/wp-content/debug.log tests/codeception/tests/_output/debug.log ||
true
-
cp ${APACHE_DOCUMENT_ROOT}/wp-content/uploads/wpdesk-logs/wpdesk_debug.log tests/codeception/tests/_output/wpdesk_debug.log ||
true
-
rm -r ${APACHE_DOCUMENT_ROOT}
-
'
if
[[
${REPORTPORTAL_AUTHORIZATION}
&&
${REPORTPORTAL_PROJECT}
]];
then
curl
-X
POST
"http://195.201.225.204:8080/api/v1/${REPORTPORTAL_PROJECT}/launch/import"
-H
"accept:
*/*"
-H
"Content-Type:
multipart/form-data"
-H
"${REPORTPORTAL_AUTHORIZATION}"
-F
"file=@tests/codeception/tests/_output/report.xml;type=text/xml;filename=${CI_PROJECT_NAME}-${CI_COMMIT_REF_SLUG}-codeception.xml";
fi'
...
...
This diff is collapsed.
Click to expand it.
includes/tests/codeception.yml
+
2
−
2
View file @
e6a1835e
...
...
@@ -25,8 +25,6 @@
name
:
"
acceptance
logs"
paths
:
-
tests/codeception/tests/_output
-
${APACHE_DOCUMENT_ROOT}/wp-content/debug.log
-
${APACHE_DOCUMENT_ROOT}/wp-content/uploads/wpdesk-logs/wpdesk_debug.log
reports
:
junit
:
tests/codeception/tests/_output/report.xml
stage
:
tests
...
...
@@ -69,6 +67,8 @@
script
:
-
vendor/bin/codecept run --steps --xml --html -f --verbose
after_script
:
-
cp ${APACHE_DOCUMENT_ROOT}/wp-content/debug.log tests/codeception/tests/_output/debug.log ||
true
-
cp ${APACHE_DOCUMENT_ROOT}/wp-content/uploads/wpdesk-logs/wpdesk_debug.log tests/codeception/tests/_output/wpdesk_debug.log ||
true
-
rm -r ${APACHE_DOCUMENT_ROOT}
-
'
if
[[
${REPORTPORTAL_AUTHORIZATION}
&&
${REPORTPORTAL_PROJECT}
]];
then
curl
-X
POST
"http://195.201.225.204:8080/api/v1/${REPORTPORTAL_PROJECT}/launch/import"
-H
"accept:
*/*"
-H
"Content-Type:
multipart/form-data"
-H
"${REPORTPORTAL_AUTHORIZATION}"
-F
"file=@tests/codeception/tests/_output/report.xml;type=text/xml;filename=${CI_PROJECT_NAME}-${CI_COMMIT_REF_SLUG}-codeception.xml";
fi'
...
...
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