8714-devToTest #1547

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

3
Jenkinsfile vendored
View File

@ -102,8 +102,7 @@ pipeline {
env.NETWORK = "${PROJECT_NAME}-${env.BRANCH_NAME}-${env.BUILD_ID}"
cleanDockerE2E()
sh "pnpm exec cypress install"
sh "docker-compose -p lilium-e2e -f docker-compose.e2e.yml build cypress-setup"
sh "docker build -t cypress-setup:latest -f ./test/cypress/Dockerfile ."
// sh "docker network create ${env.NETWORK} || true"
}

View File

@ -28,14 +28,6 @@ services:
volumes:
- .:/app
working_dir: /app
cypress-setup:
image: cypress-setup:latest
build:
context: .
dockerfile: ./test/cypress/Dockerfile
command: sh -c "pnpm install --frozen-lockfile && pnpm exec cypress install"
volumes:
- ./node_modules:/app/node_modules
vn-database:
image: alexmorenovn/vn_db:latest
# ports:

View File

@ -90,7 +90,7 @@ run_group() {
if [[ "$exit_code" -ne 0 ]]; then
echo "⚠️ Error en la ejecución de ${folderName} (Exit Code: $exit_code)"
buildResult="UNSTABLE"
docker logs "$container_id" > "test/cypress/docker/logs/${folderName}.log" 2>/dev/null || true
docker logs "$container_id" > "test/cypress/docker/logs/${uniqueName}.log" 2>/dev/null || true
failedTests+=("$folderName")
fi