You can try to use Build Blocker plugin.
It allows to specify list of jobs to check before running the current job.