CI launch back tests only
gitea/salix/pipeline/head Something is wrong with the build of this commit Details

This commit is contained in:
Joan Sanchez 2022-05-12 15:28:52 +02:00
parent 9778783dfa
commit fd7bed9933
1 changed files with 3 additions and 14 deletions

11
Jenkinsfile vendored
View File

@ -54,23 +54,12 @@ pipeline {
environment { environment {
NODE_ENV = "" NODE_ENV = ""
} }
parallel {
stage('Frontend') {
steps {
nodejs('node-v14') {
sh 'jest --ci --reporters=default --reporters=jest-junit --maxWorkers=2'
}
}
}
stage('Backend') {
steps { steps {
nodejs('node-v14') { nodejs('node-v14') {
sh 'npm run test:back:ci' sh 'npm run test:back:ci'
} }
} }
} }
}
}
stage('Build') { stage('Build') {
when { anyOf { when { anyOf {
branch 'test' branch 'test'