Replace lastSuccessfulBuild by lastBuild
Merge pull request #217 from sbesson/rebased/develop/jenkins_testing

Replace lastSuccessfulBuild by lastBuild (rebased onto develop)