When my bamboo plan builds, it creates a tarball as its last step. I then use an artifactory generic deploy final task to store the tarball in artifactory.
If I don't get the Edit Published Artifacts correct in the artifactory plugin, when the deploy task runs you'll see a line like:
For pattern: /opt/bamboo-agent-home/xml-data/build-dir/GCC-BUIL-BUIL/gmpbinaries-6.1.0.tar.gz 0 artifacts were found
Well, if 0 artifacts were found, that's a bad thing. However, the build is still marked as successful. This is incredibly misleading because subsequent builds will fail because the artifact never was placed in artifactory.
Can some sort of option be added to the artifactory deploy task such that it will fail the build if no matching artifacts are found?