ci: refs #6695 streamline Cypress E2E test execution in Jenkinsfile and improve error handling
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
ca50259d50
commit
af3f7a7f78
|
@ -118,7 +118,7 @@ pipeline {
|
||||||
-e CI=true \\
|
-e CI=true \\
|
||||||
-v $(pwd):/app \\
|
-v $(pwd):/app \\
|
||||||
-w /app \\
|
-w /app \\
|
||||||
cypress/included:latest \\
|
cypress-setup:latest \\
|
||||||
sh -c "while [ ! -d node_modules/cypress ]; do sleep 1; done && pnpm exec cypress run --browser chromium"
|
sh -c "while [ ! -d node_modules/cypress ]; do sleep 1; done && pnpm exec cypress run --browser chromium"
|
||||||
""", returnStdout: true).trim()
|
""", returnStdout: true).trim()
|
||||||
checkErrors(containerId)}
|
checkErrors(containerId)}
|
||||||
|
|
Loading…
Reference in New Issue