Currently if you want to archive artifacts and automatically fingerprint them, you must invoke a step, e.g.:
step([$class: 'ArtifactArchiver', artifacts: '**/target/*.jar, **/target/*.war, **/target/*.hpi', fingerprint: true])
The archive step should support the fingerprint keyword-argument, e.g.:
code
archive excludes: 'bar', includes: 'foo', fingerprint: true
code
Which, like the web UI, would fingerprint all archived artifacts automatically.