ci: archive build logs on failure

kiosk
Dustin 2024-12-29 12:08:09 -06:00
parent 6dfea85036
commit 216bdfde50
2 changed files with 8 additions and 0 deletions

5
ci/Jenkinsfile vendored
View File

@ -34,5 +34,10 @@ pipeline {
archiveArtifacts '*'
}
}
failure {
dir('/var/tmp/portage') {
archiveArtifacts '*/*/temp/*.log'
}
}
}
}

View File

@ -32,6 +32,9 @@ spec:
subPath: distfiles
- mountPath: /var/db/repos/gentoo
name: portage
- mountPath: /var/tmp
name: workspace-volume
subPath: tmp
hostUsers: false
volumes:
- name: binpkgs