Pass the build number as parameter to findLastBuildRev