fix jenkinsfile
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit

This commit is contained in:
austin 2024-08-28 14:14:10 -04:00
parent feac6e4f02
commit f244bb8357

63
Jenkinsfile vendored
View File

@ -29,51 +29,28 @@ pipeline {
sh 'cp ./docs-dist/html/docs.tar.gz /docs/docs.tar.gz && cd /docs/ && tar -xzvf ./docs.tar.gz' sh 'cp ./docs-dist/html/docs.tar.gz /docs/docs.tar.gz && cd /docs/ && tar -xzvf ./docs.tar.gz'
} }
} }
try { stage('Test') {
stage('Test') { steps {
steps { wrap(
wrap( [
[ $class: 'Xvfb',
$class: 'Xvfb', additionalOptions: '',
additionalOptions: '', assignedLabels: '',
assignedLabels: '', autoDisplayName: true,
autoDisplayName: true, debug: true,
debug: true, displayNameOffset: 0,
displayNameOffset: 0, installationName: 'Default',
installationName: 'Default', parallelBuild: true,
parallelBuild: true, screen: '1920x1080x24',
screen: '1920x1080x24', timeout: 25
timeout: 25 ]
] ) {
) { sh 'mvn test -P integration'
sh 'mvn test -P integration'
}
}
post {
always {
junit testResults: 'target/surefire-reports/*.xml', keepLongStdio: true, testDataPublishers: [[$class:'AttachmentPublisher']]
}
} }
} }
} catch(err) { post {
stage('Debug Test Script') { always {
steps { junit testResults: 'target/surefire-reports/*.xml', keepLongStdio: true, testDataPublishers: [[$class:'AttachmentPublisher']]
wrap(
[
$class: 'Xvfb',
additionalOptions: '',
assignedLabels: '',
autoDisplayName: true,
debug: true,
displayNameOffset: 0,
installationName: 'Default',
parallelBuild: true,
screen: '1920x1080x24',
timeout: 25
]
) {
sh 'mvn test -P integration -DmaxLogs'
}
} }
} }
} }