fix
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
1f4e98075c
commit
a31b735d3c
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue