Clean up logic slightly, fix build by namespacing JenkinsBuildStatus sum type.

Signed-off-by: Ricky Elrod <ricky@elrod.me>