Jenkins module refactor