The documentation for the Build step presently states this:
result typically SUCCESS, UNSTABLE, or FAILED (may be null for an ongoing build)
However, the actual state is FAILURE, not FAILED.