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

This commit is contained in:
Alex Moreno 2025-02-24 09:06:14 +01:00
parent fa35815683
commit 6c83e4b5c4
1 changed files with 5 additions and 5 deletions

10
Jenkinsfile vendored
View File

@ -117,11 +117,11 @@ pipeline {
sh "docker-compose ${env.COMPOSE_PARAMS} up -d"
image.inside("--network ${env.COMPOSE_PROJECT}_default -e CI -e TZ") {
// sh 'cypress run --browser chromium'
sh '
CYPRESS_SPEC_FOLDER="test/cypress/integration"
find $CYPRESS_SPEC_FOLDER -name "*.spec.js" | xargs -n 1 -P 4 -I {} sh -c "cypress run --browser chromium --headless --spec '{}'"
wait;
'
sh '''
CYPRESS_SPEC_FOLDER="test/cypress/integration"
find $CYPRESS_SPEC_FOLDER -name "*.spec.js" | xargs -n 1 -P 4 -I {} sh -c "cypress run --browser chromium --headless --spec '{}'"
wait;
'''
}
}
}