ci: archive build logs on failure
dustin/photoframe2/pipeline/pr-main This commit looks good Details

pull/2/head
Dustin 2024-12-29 12:08:09 -06:00
parent c93bceeb56
commit 11a83a9dab
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

@ -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