add a parameter in the config for finding the ancestors or not

Status Job ID Name Coverage
  Build
canceled #1402
build