When creating an archiveArtifacts step in the BO editor, it has 'DefaultExcludes' (nice user-friendly label) disabled.
This will result in this step:
When checking the box, the step will be:
JENKINS-20086 makes this difficult) both do the same thing. defaultExcludes is enabled by default, and needs to be explicitly set to false.
Notably, the snippet generator gets this right.