1

I am a newbie to jenkins pipeline. I am looking to develop a shared library which can load configuration variables from database or external resource via Restful interface, then all variables will be ingested into each jenkins pipeline jobs.

Any advice for best practices to implement this?

Joey Trang
  • 1,105
  • 2
  • 23
  • 44

1 Answers1

0

One way to achieve this would be with workflow-cps-global-lib-plugin. You could write the groovy code fetching the parameters there, and then use those from any pipeline you'd like.

hakamairi
  • 4,464
  • 4
  • 30
  • 53