phase1,phase2: implement round robin builds