test in paralel
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
998597dfcc
commit
1027e0753e
|
@ -54,19 +54,18 @@ pipeline {
|
||||||
NODE_ENV = ""
|
NODE_ENV = ""
|
||||||
TZ = 'Europe/Madrid'
|
TZ = 'Europe/Madrid'
|
||||||
}
|
}
|
||||||
steps {
|
parallel {
|
||||||
script {
|
stage('Frontend') {
|
||||||
if (!env.BRANCH_NAME.equals('test') && !env.BRANCH_NAME.equals('master')) {
|
steps {
|
||||||
stage('Backend') {
|
nodejs('node-v20') {
|
||||||
nodejs('node-v20') {
|
sh 'jest --ci --reporters=default --reporters=jest-junit --maxWorkers=2'
|
||||||
sh 'npm run test:back:ci'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
stage('Frontend') {
|
}
|
||||||
nodejs('node-v20') {
|
stage('Backend') {
|
||||||
sh 'jest --ci --reporters=default --reporters=jest-junit --maxWorkers=2'
|
steps {
|
||||||
}
|
nodejs('node-v20') {
|
||||||
|
sh 'npm run test:back:ci'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue