You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in my case this is breaking the ability for circle-ci to process the cucumber report since $CIRCLE_TEST_REPORTS=/tmp/circle-junit.aLqT5ZY (or similar), but cucumber tries to write to /home/ubuntu/<project-name>/tmp/circle-junit.aLqT5ZY/cucumber/tests.cucumber instead of /tmp/circle-junit.aLqT5ZY/cucumber/tests.cucumber, as defined by the environment variable.
The text was updated successfully, but these errors were encountered:
travi
added a commit
to travi-org/admin.travi.org
that referenced
this issue
Aug 11, 2017
I believe if we switch path.join to path.resolve that will fix the issue. We should add a feature test for this where it supplies an absolute path into a temp directory.
because of the
path.join
withthis.cwd
passed tofs.open
when preparing to write to a file, an absolute path is handled as relative to the project path instead of the root of the system when starting with a leading/
.in my case this is breaking the ability for circle-ci to process the cucumber report since
$CIRCLE_TEST_REPORTS=/tmp/circle-junit.aLqT5ZY
(or similar), but cucumber tries to write to/home/ubuntu/<project-name>/tmp/circle-junit.aLqT5ZY/cucumber/tests.cucumber
instead of/tmp/circle-junit.aLqT5ZY/cucumber/tests.cucumber
, as defined by the environment variable.The text was updated successfully, but these errors were encountered: