build: refs #5483 test workers increased to 6, test rocket notification
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
095d6b4140
commit
84961dda49
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue