update jenkinsfile test debugging
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit
This commit is contained in:
parent
5f1b7cdc62
commit
224fce0a5a
30
Jenkinsfile
vendored
30
Jenkinsfile
vendored
@ -50,9 +50,6 @@ pipeline {
|
|||||||
catchError {
|
catchError {
|
||||||
sh 'mvn test -P integration && touch ./testsuccess'
|
sh 'mvn test -P integration && touch ./testsuccess'
|
||||||
}
|
}
|
||||||
if(!fileExists('./testsuccess')){
|
|
||||||
sh 'mvn test -P integration -DmaxLogs'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -62,5 +59,32 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stage('DebugTests') {
|
||||||
|
when {
|
||||||
|
expression {
|
||||||
|
!fileExists('./testsuccess')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
steps {
|
||||||
|
wrap(
|
||||||
|
[
|
||||||
|
$class: 'Xvfb',
|
||||||
|
additionalOptions: '',
|
||||||
|
assignedLabels: '',
|
||||||
|
autoDisplayName: true,
|
||||||
|
debug: true,
|
||||||
|
displayNameOffset: 0,
|
||||||
|
installationName: 'Default',
|
||||||
|
parallelBuild: true,
|
||||||
|
screen: '1920x1080x24',
|
||||||
|
timeout: 25
|
||||||
|
]
|
||||||
|
) {
|
||||||
|
script {
|
||||||
|
sh 'mvn test -P integration -DmaxLogs'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue
Block a user