test: refs #6695 e2e get logs
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Alex Moreno 2025-02-10 09:19:18 +01:00
parent 6b87d2f816
commit 1beab6810e
1 changed files with 1 additions and 0 deletions

1
Jenkinsfile vendored
View File

@ -127,6 +127,7 @@ pipeline {
steps {
script {
sh "docker-compose -p ${env.NETWORK} -f docker-compose.e2e.yml up e2e"
sh "docker-compose -p ${env.NETWORK} -f docker-compose.e2e.yml logs back"
def containerId = sh(script: "docker-compose -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()