TDI-30195 : refactor the AbstractPublishJobAction