ci: archive build logs on failure
All checks were successful
dustin/photoframe2/pipeline/pr-main This commit looks good
All checks were successful
dustin/photoframe2/pipeline/pr-main This commit looks good
This commit is contained in:
5
ci/Jenkinsfile
vendored
5
ci/Jenkinsfile
vendored
@@ -29,5 +29,10 @@ pipeline {
|
|||||||
archiveArtifacts '*'
|
archiveArtifacts '*'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
failure {
|
||||||
|
dir('/var/tmp/portage') {
|
||||||
|
archiveArtifacts '*/*/temp/*.log'
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -32,6 +32,9 @@ spec:
|
|||||||
subPath: distfiles
|
subPath: distfiles
|
||||||
- mountPath: /var/db/repos/gentoo
|
- mountPath: /var/db/repos/gentoo
|
||||||
name: portage
|
name: portage
|
||||||
|
- mountPath: /var/tmp
|
||||||
|
name: workspace-volume
|
||||||
|
subPath: tmp
|
||||||
hostUsers: false
|
hostUsers: false
|
||||||
volumes:
|
volumes:
|
||||||
- name: binpkgs
|
- name: binpkgs
|
||||||
|
|||||||
Reference in New Issue
Block a user