test(jenkins): enable retry on failing test and use all machines

This commit is contained in:
Jonathan Rainville 2022-08-09 17:26:43 -04:00 committed by Iuri Matias
parent 1dd6385cae
commit ac961062c8
1 changed files with 6 additions and 3 deletions

View File

@ -1,7 +1,7 @@
library 'status-jenkins-lib@v1.3.4' library 'status-jenkins-lib@v1.3.4'
pipeline { pipeline {
agent { label 'linux-01' } agent { label 'linux' }
parameters { parameters {
booleanParam( booleanParam(
@ -67,7 +67,11 @@ pipeline {
wrap([$class: 'Xvfb']) { wrap([$class: 'Xvfb']) {
script { script {
def res = squish([ def res = squish([
extraOptions: '''--config extraOptions: '''
--retry
2
--config
addAUT addAUT
nim_status_client nim_status_client
${WORKSPACE}/bin ${WORKSPACE}/bin
@ -90,4 +94,3 @@ pipeline {
always { cleanWs() } always { cleanWs() }
} }
} }