Following other PRs, try to reduce the work of the Jenkins class to orchestrate the different classes and move any other logic to classes with a single concern. Add tests for the new class.