Update Jenkinsfile

This commit is contained in:
2025-11-25 13:33:44 -06:00
parent 3f2ecebb08
commit 7bda4a1155

9
Jenkinsfile vendored
View File

@@ -94,12 +94,6 @@ docker run --rm \\
} }
} }
// stage('Archive Artifacts') {
// steps {
// archiveArtifacts artifacts: 'html/**/*', fingerprint: true, allowEmptyArchive: true
// }
// }
stage('Upload to B2') { stage('Upload to B2') {
when { when {
expression { return params.B2_BUCKET_NAME != "" } expression { return params.B2_BUCKET_NAME != "" }
@@ -111,7 +105,7 @@ docker run --rm \\
string(credentialsId: 'b2-app-key', variable: 'B2_APPLICATION_KEY') string(credentialsId: 'b2-app-key', variable: 'B2_APPLICATION_KEY')
]) { ]) {
sh ''' sh '''
docker run --rm \ docker run --rm \
-v "$(pwd)/html:/workspace/html" \ -v "$(pwd)/html:/workspace/html" \
-e B2_APPLICATION_KEY \ -e B2_APPLICATION_KEY \
-e B2_APPLICATION_KEY_ID \ -e B2_APPLICATION_KEY_ID \
@@ -122,6 +116,7 @@ docker run --rm \\
} }
} }
} }
}
post { post {
success { success {