-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue: on successful run of one thread execution jenkins stops complete execution for cypress-parallel. #181
Comments
HI Team, Please provide your valuable input!! |
Hi Team, Anyone have any resolution for the above issue? |
could you share the error message. I using cypress-parallel with Jenkins with the same configuration and commands. And no issues and successfully getting results |
@Densf2 could you please share your npm scripts with me? |
yeah, I used the same commands but some different parameters:
and always received results for all threads |
@Densf2 did you run these scripts on cypress container? |
yes, these configuration works with official images cypress/inlcuded - but I can't share the results due to changes in tests for commercial project |
while executing scripts on Jenkins I am using three threads:
t1, t2, and t3 if one of these thread executions completes then it exits from the execution and next script try to run and Jenkins execution
failed due to this issue.
scripts to run:
"cy:install": "cypress install",
"ketteq:config:script": "cypress run --browser chrome --headless --reporter cypress-multi-reporters --reporter-options configFile=reporter-config.json",
"cy:cleanRun": "run-s -c cy:cleanReports cy:install",
"sleep5s": "node -e "setTimeout(() => process.exit(0), 5000)"",
"cy:mergeJsonFiles":"mochawesome-merge "cypress/reports/mochawesome/*" > "cypress/reports/mochawesome.json"",
"cy:generateHtmlReport":"marge cypress/reports/mochawesome.json -f mochawesome_final.html -o cypress/reports/finalHtml",
"cy:generateJenkinsHtmlReport":"marge cypress/reports/mochawesome.json -f mochawesome_final.html -o ../../../target/test-classes/e2e/cypress/reports/finalHtml",
"cy:mergeGenerateHtmlReport":"run-s -c sleep5s cy:mergeJsonFiles sleep5s cy:generateHtmlReport cy:generateJenkinsHtmlReport",
"ketteq:uiE2EParallelScript": "cypress-parallel -d cypress/e2e/api/uiE2E -t 3 -s ketteq:config:script -w parallel-weights.json",
"cy:ketteqAutomation:all": "run-s -c cy:cleanRun ketteq:uiE2EParallelScript cy:mergeGenerateHtmlReport",
Is there any way to wait for execution of all threads in cypress-parallel?
on local its working fine!!
Please help!!
The text was updated successfully, but these errors were encountered: