codeboy
codeboy

Reputation: 3

Private build for CI/CD workflows

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

Answers (1)

Ram
Ram

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

Related Questions