reduce duplication using branch param, add 2.10.1 jobs