ci: make lesavka artifact archive tolerant when no workspace context
This commit is contained in:
parent
f760b0151c
commit
263f86c824
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -84,8 +84,12 @@ pipeline {
|
||||
|
||||
post {
|
||||
always {
|
||||
node {
|
||||
archiveArtifacts artifacts: 'dist/*.tar.gz', fingerprint: true, allowEmptyArchive: true
|
||||
script {
|
||||
try {
|
||||
archiveArtifacts artifacts: 'dist/*.tar.gz', fingerprint: true, allowEmptyArchive: true
|
||||
} catch (Throwable err) {
|
||||
echo "archive step unavailable: ${err.class.simpleName}"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user