Hacker News new | ask | show | jobs
by lewich 2431 days ago
We have great experience with this!

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.

1 comments

Same here. All deployment and build is provided by one library. Made it exceptionally easy to change the deployment model and update things because of changes in the build environment.