CI tweaks

This commit is contained in:
Jamie Curnow 2024-10-01 14:14:33 +10:00
parent b37ef94c22
commit bee6a83f33
No known key found for this signature in database
GPG Key ID: FFBB624C43388E9E

9
Jenkinsfile vendored
View File

@ -245,26 +245,19 @@ pipeline {
sh './scripts/ci/build-cleanup'
echo 'Reverting ownership'
sh 'docker run --rm -v $(pwd):/data jc21/gotools:latest chown -R "$(id -u):$(id -g)" /data'
}
success {
juxtapose event: 'success'
printSuccess()
printResult()
}
failure {
dir(path: 'test') {
archiveArtifacts allowEmptyArchive: true, artifacts: 'results/**/*', excludes: '**/*.xml'
}
archiveArtifacts(artifacts: 'debug/*', allowEmptyArchive: true)
juxtapose event: 'failure'
printFailure()
}
unstable {
dir(path: 'test') {
archiveArtifacts allowEmptyArchive: true, artifacts: 'results/**/*', excludes: '**/*.xml'
}
archiveArtifacts(artifacts: 'debug/*', allowEmptyArchive: true)
juxtapose event: 'unstable'
printUnstable()
}
}
}