Replace lastSuccessfulBuild by lastBuild
Merge pull request #216 from sbesson/jenkins_testing

Replace lastSuccessfulBuild by lastBuild