Block8/PHPCI — pull request #233 by meadsteve (2013-12-09 16:49:44+00:00)
Title: Refactor how the plugin stages are called

At the moment the complete stag doesn't actually have access to whether the build has passed or failed. This change means the step is executed after the status has been set,

I've also taken the opportunity to switch some magic numbers used to the correct constants.