JBIDE-17526: Avoid running useless jobs