Based on this code, it seems when using in Pipeline, `overrideLatestBuild` is always false. It would be really valuable to be able to define it in the pipeline jobs as well, with an additional parameter.