ci: refs #6695 try
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Alex Moreno 2025-02-19 12:38:26 +01:00
parent a557b63f3f
commit 3bf64d126d
1 changed files with 4 additions and 2 deletions

6
Jenkinsfile vendored
View File

@ -98,7 +98,6 @@ pipeline {
def packageJson = readJSON file: 'package.json'
env.VERSION = "${packageJson.version}-build${env.BUILD_ID}"
env.NETWORK = "${PROJECT_NAME}-${env.BRANCH_NAME}-${env.BUILD_ID}"
// docker.build('cypress-setup:latest', "-f ./test/cypress/Dockerfile .")
sh "docker-compose -p ${env.NETWORK} -f docker-compose.e2e.yml up -d"
@ -114,7 +113,10 @@ pipeline {
""") {
sh 'pnpm exec cypress run --browser chromium'
}
}
}
post {
always {
sh "docker-compose -p ${env.NETWORK} -f docker-compose.e2e.yml down"
}
}