[JENKINS-17862] multi step job generation doesn't work with multiple calls