Could not find a Cypress configuration file cypress.json on Jenkins while using cypress dockers #15626
Unanswered
gm-berkeley
asked this question in
CI setup
Replies: 1 comment
-
After discussion with colleagues, the lines for integration are now:
Yet I still get the same error. Removing the line |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My problem is similar to that faced by @omelnik in #9084
I have decided to use cypress dockers to carry out testing as part of the CI/CD process. We use Jenkins for integration of the monorepo in our build. The OS used is CentOS
My folder structure is as below:
The structure of the Jenkinfile where I call cypress up (this is after agreement from management, so don't blame me as I don't own the build process) is as follows:
The build fails when I attempt to run it. The console output is as below:
Could not find a Cypress configuration file, exiting.
We looked but did not find a cypress.json file in this folder: /integrated-testing
This is odd as the cypress.json file is located immediately within the folder test-in-folder, as I stated above. Please advise how I may proceed.
Beta Was this translation helpful? Give feedback.
All reactions