6695-docker_push_3 #1423

Merged
alexm merged 424 commits from 6695-docker_push_3 into dev 2025-02-21 12:41:37 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 034f27432d - Show all commits

2
Jenkinsfile vendored
View File

@ -218,7 +218,7 @@ def checkErrors(String folderName){
def containerId = sh(script: "docker-compose -p ${env.NETWORK}_${folderName} -f docker-compose.e2e.yml ps -q e2e", returnStdout: true).trim()
if (containerId) {
def exitCode = sh(script: "docker inspect -f '{{.State.ExitCode}}' ${containerId}", returnStdout: true).trim()
sh "docker cp ${containerId}:/app/test/cypress/reports ./test/cypress/"
// sh "sudo docker cp ${containerId}:/app/test/cypress/reports ./test/cypress/"
if (exitCode != '0') {
def logs = sh(script: "docker logs ${containerId}", returnStdout: true).trim()
error("Cypress E2E tests failed with exit code: ${exitCode}\nLogs:\n${logs}")