Using build plugins, it's super simple to prevent a build from appearing as failed on its status badge by using the ignore command!

Check out this deploy log and the repo!

Have a look at the build plugin docs too.