fix: refs #6695 clientBasicData
gitea/salix-front/pipeline/pr-dev Something is wrong with the build of this commit Details

This commit is contained in:
Alex Moreno 2025-02-10 13:21:58 +01:00
parent 13baf95902
commit 1c1d6a0ff6
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -192,11 +192,11 @@ def runTestsInParallel() {
if (testFolder.trim()) { // Evita procesar líneas vacías
def folderName = testFolder.replaceAll('test/cypress/integration/', '').replaceAll('/', '')
folderName = folderName.replaceAll('[^a-zA-Z0-9_-]', '') // Seguridad en nombres de red
env.CYPRESS_SPEC="test/cypress/integration/${folderName}/**/*.spec.js"
tasks["e2e_${folderName}"] = {
sh "docker-compose -p ${env.NETWORK}_${folderName} -f docker-compose.e2e.yml up -d back vn-database"
sh "docker-compose -p ${env.NETWORK}_${folderName} -f docker-compose.e2e.yml up -d front"
sh "docker-compose -p ${env.NETWORK}_${folderName} -f docker-compose.e2e.yml up e2e " +
"command=\"sh -c 'pnpm exec cypress install && pnpm exec cypress run --browser chromium --spec test/cypress/integration/${folderName}/**/*.spec.js'\""
sh "docker-compose -p ${env.NETWORK}_${folderName} -f docker-compose.e2e.yml up e2e"
}
}
}