refactor jenkins main.yml use with_items