build: refs #5483 test workers increased to 6, test rocket notification
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Juan Ferrer 2024-01-30 19:41:09 +01:00
parent 095d6b4140
commit 84961dda49
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -59,7 +59,7 @@ pipeline {
stage('Frontend') { stage('Frontend') {
steps { steps {
nodejs('node-v20') { nodejs('node-v20') {
sh 'jest --ci --reporters=default --reporters=jest-junit --maxWorkers=4' sh 'jest --ci --reporters=default --reporters=jest-junit --maxWorkers=6'
} }
} }
} }
@ -130,7 +130,7 @@ pipeline {
success { success {
script { script {
if (env.RUN_SOURCE == 'git' if (env.RUN_SOURCE == 'git'
&& ['master', 'test'].contains(env.BRANCH_NAME)) { && ['master', 'test', 'dev'].contains(env.BRANCH_NAME)) {
String message = env.GIT_COMMIT_MSG String message = env.GIT_COMMIT_MSG
int index = message.indexOf('\n') int index = message.indexOf('\n')
if (index != -1) if (index != -1)