ci: refs #6695 feat jenkins parallel e2e
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
fa35815683
commit
6c83e4b5c4
|
@ -117,11 +117,11 @@ pipeline {
|
||||||
sh "docker-compose ${env.COMPOSE_PARAMS} up -d"
|
sh "docker-compose ${env.COMPOSE_PARAMS} up -d"
|
||||||
image.inside("--network ${env.COMPOSE_PROJECT}_default -e CI -e TZ") {
|
image.inside("--network ${env.COMPOSE_PROJECT}_default -e CI -e TZ") {
|
||||||
// sh 'cypress run --browser chromium'
|
// sh 'cypress run --browser chromium'
|
||||||
sh '
|
sh '''
|
||||||
CYPRESS_SPEC_FOLDER="test/cypress/integration"
|
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 '{}'"
|
find $CYPRESS_SPEC_FOLDER -name "*.spec.js" | xargs -n 1 -P 4 -I {} sh -c "cypress run --browser chromium --headless --spec '{}'"
|
||||||
wait;
|
wait;
|
||||||
'
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue