Replace lastSuccessfulBuild by lastBuild