ci: archive build logs on failure
dustin/photoframe2/pipeline/pr-dev/ci There was a failure building this commit Details

Dustin 2024-12-29 12:08:09 -06:00
parent 094e8d47b9
commit 3d4a98473c
2 changed files with 8 additions and 0 deletions

5
ci/Jenkinsfile vendored
View File

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

View File

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