plugins/jenkins: now handles any amount of jobs