use BUILD_COMMITS policy when retrying builds