[CONTINUUM-2394] check if buildId == 0 to know if user is trying to view the current build in a distributed build scenario and removed try/catch in getBuildResult