ci: make lesavka artifact archive tolerant when no workspace context
This commit is contained in:
parent
f760b0151c
commit
263f86c824
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -84,8 +84,12 @@ pipeline {
|
|||||||
|
|
||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
node {
|
script {
|
||||||
|
try {
|
||||||
archiveArtifacts artifacts: 'dist/*.tar.gz', fingerprint: true, allowEmptyArchive: true
|
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