fix: refs #8698 update Jenkinsfile to run Cypress tests with specified modules
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Alex Moreno 2025-03-05 13:03:44 +01:00
parent d01951a709
commit 83c0bfad0c
1 changed files with 4 additions and 5 deletions

9
Jenkinsfile vendored
View File

@ -121,11 +121,10 @@ pipeline {
def image = docker.build('lilium-dev', '-f docs/Dockerfile.dev docs')
sh "docker-compose ${env.COMPOSE_PARAMS} up -d"
def result = sh(script: 'node test/cypress/docker/find/find.js', returnStdout: true).trim()
echo "El resultado es: ${result}"
// image.inside("--network ${env.COMPOSE_PROJECT}_default -e CI -e TZ") {
// sh "cypress run --browser chromium || true"
// }
def modules = sh(script: 'node test/cypress/docker/find/find.js', returnStdout: true).trim()
image.inside("--network ${env.COMPOSE_PROJECT}_default -e CI -e TZ") {
sh "cypress run --browser chromium --spec ${modules}|| true"
}
}
}
post {