Developed shared libs that serve full enterprise organization and do complex deployments. If project follow same rules, it is easy to encapsulate logic into shared lib and have jenkinsfile to call it with few params.
e.g. Jenkinsfile
```
@Library('common-libraries') _
deploy(product: 'xyz', environment: 'exyz')
```
Then, updates in shared lib propagate to all projects.
Developed shared libs that serve full enterprise organization and do complex deployments. If project follow same rules, it is easy to encapsulate logic into shared lib and have jenkinsfile to call it with few params.
e.g. Jenkinsfile ``` @Library('common-libraries') _ deploy(product: 'xyz', environment: 'exyz') ```
Then, updates in shared lib propagate to all projects.