Query Jenkin job in sequence