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

This commit is contained in:
Alex Moreno 2025-02-10 15:09:58 +01:00
parent 93ade9c4e0
commit 822597f22b
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -209,13 +209,13 @@ def runTestsInParallel() {
if (testFolder.trim()) {
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"
// env.CYPRESS_SPEC="test/cypress/integration/${folderName}/**/*.spec.js"
tasks["e2e_${folderName}"] = {
script {
sh "docker-compose -p ${env.NETWORK}_${folderName} -f docker-compose.e2e.yml up -d back"
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"
sh "CYPRESS_SPEC=test/cypress/integration/${folderName}/**/*.spec.js docker-compose -p ${env.NETWORK}_${folderName} -f docker-compose.e2e.yml up e2e"
}
}
}