Maybe this works?
@@ -13,7 +13,11 @@ pipeline {
}
post {
success {
- archiveArtifacts artifacts: 'build/libs/*.jar', excludes: 'build/libs/*-dev.jar' 'build/libs/*-sources*jar' 'build/libs/*-all.jar', fingerprint: true
+ archiveArtifacts artifacts: 'build/libs/*.jar', excludes: {
+ 'build/libs/*-dev.jar'
+ 'build/libs/*-sources*jar'
+ 'build/libs/*-all.jar'
+ }, fingerprint: true
}
}
}
