Test stage now gets executed if the build is successful
* changed build result to successful after successful build * refactored long line in post build stage * removed unnecessary assignment of the build result in post build stage
* changed build result to successful after successful build * refactored long line in post build stage * removed unnecessary assignment of the build result in post build stage