Jenkinsfile copyartifact cannot find artifact when using filter criteria with wildcard
According to the documentation CopyArtifact uses ant expression syntax. Hence this probably works on paths. Also I would skip the dot.
steps { step([$class: 'CopyArtifact', fingerprintArtifacts: true, flatten: true, projectName: 'branch/name', selector: lastSuccessful(), filter: "**/webpackage*", target: './artifacts'])