-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
Jenkins LTS 1.466.1 on RHEL 6.1 x86_64
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.3) (rhel-1.48.1.11.3.el6_2-x86_64)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
It'd be nice to have a checkbox option for the [ArtifactDeployer] plugin to cause the build to fail if the artifacts specified in the "Files to deploy" field do not exist. The current behavior of the plugin is to succeed even if there are zero artifacts matching the specified file/wildcard expression.
Like ArtifactDeployer enables you to specify several sections of 'Files to deploy', do you want an option for each section or a global option?
In first use-case, build fails only if there are no maching files and the option (checkbox) is selected.
In the second use-case, the build fails only if the option is selected and there is at least one section that doesn't meet the conditions (no matching files).