Reputation: 3
I am looking for recommendations or best practices to implement private builds in CI/CD. When developers check in code to a "private branch" or a personal workspace in source control it should trigger CI / CD workflows in Jenkins. It should be separate from the CI/CD workflows which are executed off trunk or main branch in SCM.
Upvotes: 0
Views: 625
Reputation: 1224
Use Multi-branch pipeline plugin as explained here. It will build every branch separately. However, if there are any shared external resources(updating file/DB) they should be locked.
Upvotes: 1