NOTE: this ticket should be for the 'artifactdeployer' plugin, but it was not available in the Component drop-down.
When specifying "Artifacts to deploy", if I enter "myproject_*", the following help text comes up:
‘myproject_*’ doesn’t match anything, but ‘default/myproject_*’ does. Perhaps that’s what you mean?
The "default" directory is of course automatically created as part of the multiconfiguration job, and is where my myproject_* files actually exist.
But if I take this suggestion and change the value of the "Artifacts to deploy" to "default/myproject_*", zero files are matched.
If I change the "Basedir" field under "Advanced" to "default/", I get the following error when the build completes:
[ArtifactDeployer] - Starting deployment from the post-action ...
[ArtifactDeployer] - [ERROR] - Failed to deploy. The basedir path 'default/' from the workspace doesn't exist.
FATAL: cannot change build result while in COMPLETED
java.lang.IllegalStateException: cannot change build result while in COMPLETED
If I simply ignore suggestion the plugin gives and use "myproject_*" with no Basedir, things work as expected despite the warning message on the job config screen.