Hi there,
I think you need help more in provisioning automated master-slave jenkins cluster than building the CI/CD pipeline itself.
I can help you in this using some nice tools like Terraform, Ansible,..
If you want help writing pipelines, I'd love to help, I prefer to use pipeline as code code of Jenkins2.0
Thank you
Ahmed