8714-devToTest #1547

Merged
alexm merged 712 commits from 8714-devToTest into test 2025-03-04 14:08:01 +00:00
1 changed files with 2 additions and 1 deletions
Showing only changes of commit 1ea6af8eb9 - Show all commits

3
Jenkinsfile vendored
View File

@ -134,7 +134,8 @@ pipeline {
def exitCode = sh(script: "docker inspect -f '{{.State.ExitCode}}' ${containerId}", returnStdout: true).trim()
sh "docker cp ${containerId}:/app/test/cypress/reports ./test/cypress/"
if (exitCode != '0') {
error("Cypress E2E tests failed with exit code: ${exitCode}")
def logs = sh(script: "docker logs ${containerId}", returnStdout: true).trim()
error("Cypress E2E tests failed with exit code: ${exitCode}\nLogs:\n${logs}")
}
} else {
error("The Docker container for E2E tests could not be created")