test: jenkins test secuenciales
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Vicent Llopis 2023-06-16 13:25:45 +02:00
parent 425118d333
commit 0a9bdc6f89
1 changed files with 9 additions and 11 deletions

20
Jenkinsfile vendored
View File

@ -54,19 +54,17 @@ pipeline {
NODE_ENV = "" NODE_ENV = ""
TZ = 'Europe/Madrid' TZ = 'Europe/Madrid'
} }
parallel { stage('Frontend') {
stage('Frontend') { steps {
steps { nodejs('node-v20') {
nodejs('node-v20') { sh 'jest --ci --reporters=default --reporters=jest-junit --maxWorkers=2'
sh 'jest --ci --reporters=default --reporters=jest-junit --maxWorkers=2'
}
} }
} }
stage('Backend') { }
steps { stage('Backend') {
nodejs('node-v20') { steps {
sh 'npm run test:back:ci' nodejs('node-v20') {
} sh 'npm run test:back:ci'
} }
} }
} }