fix
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Vicent Llopis 2023-06-16 13:29:00 +02:00
parent 1f4e98075c
commit a31b735d3c
1 changed files with 11 additions and 10 deletions

7
Jenkinsfile vendored
View File

@ -55,15 +55,15 @@ pipeline {
TZ = 'Europe/Madrid'
}
steps {
script {
if (!env.BRANCH_NAME.equals('test') && !env.BRANCH_NAME.equals('master')) {
stage('Frontend') {
steps {
nodejs('node-v20') {
sh 'jest --ci --reporters=default --reporters=jest-junit --maxWorkers=2'
}
}
}
stage('Backend') {
steps {
nodejs('node-v20') {
sh 'npm run test:back:ci'
}
@ -71,6 +71,7 @@ pipeline {
}
}
}
}
stage('Build') {
when { anyOf {
branch 'test'