fix(ci): archive artifacts before workspace cleanup

This commit is contained in:
2026-08-12 17:15:46 +08:00
parent 9c02c68d21
commit eec1227179
Vendored
+6 -1
View File
@@ -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 '''