Only return the latest build to avoid a slow old build being deployed
Made continuous deployment chain more testable and tested