ci: archive build logs on failure
This commit is contained in:
5
ci/Jenkinsfile
vendored
5
ci/Jenkinsfile
vendored
@@ -34,5 +34,10 @@ pipeline {
|
||||
archiveArtifacts '*'
|
||||
}
|
||||
}
|
||||
failure {
|
||||
dir('/var/tmp/portage') {
|
||||
archiveArtifacts '*/*/temp/*.log'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user