diff --git a/ci/Jenkinsfile b/ci/Jenkinsfile index 1270b8c..adcf8e4 100644 --- a/ci/Jenkinsfile +++ b/ci/Jenkinsfile @@ -29,5 +29,10 @@ pipeline { archiveArtifacts '*' } } + failure { + dir('/var/tmp/portage') { + archiveArtifacts '*/*/temp/*.log' + } + } } } diff --git a/ci/podTemplate.yaml b/ci/podTemplate.yaml index f4bc25b..97319d3 100644 --- a/ci/podTemplate.yaml +++ b/ci/podTemplate.yaml @@ -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