fix(ci): archive artifacts before workspace cleanup
This commit is contained in:
Vendored
+6
-1
@@ -244,10 +244,15 @@ PY
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Archive Jenkins Artifacts') {
|
||||
steps {
|
||||
archiveArtifacts artifacts: 'artifacts/*.fpk,artifacts/*.sha256,artifacts/*.json', fingerprint: true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
post {
|
||||
success { archiveArtifacts artifacts: 'artifacts/*.fpk,artifacts/*.sha256,artifacts/*.json', fingerprint: true }
|
||||
always {
|
||||
withCredentials([usernamePassword(credentialsId: "${NODE_CREDENTIALS}", usernameVariable: 'JENKINS_NODE_USERNAME', passwordVariable: 'JENKINS_NODE_PASSWORD')]) {
|
||||
sh '''
|
||||
|
||||
Reference in New Issue
Block a user