Fix High Availability (HA) compatibility of abort previous on pipeline jobs (BEE-47091)
When using the abort previous builds setting on a pipeline job in High Availability (HA), if a newer builds starts, even if it runs on another replica, the previous build is aborted.