Artifacts on failed build

maybe i am doing something wrong.

but is there a chance that we can get artifacts, when the build fails?

in 99% of the builds - the artifacts of the "good" build are not required, but if a build fails the artifacts would be important.