ci: archive build logs on failure
Some checks failed
dustin/photoframe2/pipeline/pr-dev/ci There was a failure building this commit
Some checks failed
dustin/photoframe2/pipeline/pr-dev/ci There was a failure building this commit
This commit is contained in:
5
ci/Jenkinsfile
vendored
5
ci/Jenkinsfile
vendored
@@ -29,5 +29,10 @@ pipeline {
|
||||
archiveArtifacts '*'
|
||||
}
|
||||
}
|
||||
failure {
|
||||
dir('/home/jenkins/agent/tmp/portage') {
|
||||
archiveArtifacts '*/*/temp/*.log'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user