[M] Change in osmo-ci[master]: jobs/gerrit: refactor pipeline script