test secuenciales
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Vicent Llopis 2023-06-16 13:39:05 +02:00
parent a31b735d3c
commit 2da54ac3d7
1 changed files with 6 additions and 6 deletions

12
Jenkinsfile vendored
View File

@ -57,17 +57,17 @@ pipeline {
steps {
script {
if (!env.BRANCH_NAME.equals('test') && !env.BRANCH_NAME.equals('master')) {
stage('Frontend') {
nodejs('node-v20') {
sh 'jest --ci --reporters=default --reporters=jest-junit --maxWorkers=2'
}
}
stage('Backend') {
nodejs('node-v20') {
sh 'npm run test:back:ci'
}
}
stage('Frontend') {
nodejs('node-v20') {
sh 'jest --ci --reporters=default --reporters=jest-junit --maxWorkers=2'
}
}
}
}
}