Re: How are env, currentBuild, etc. bound to vars in shared library

2019-07-18 Thread Ken Petti
It actually seems like I might have solved my issue. I created a singleton class that will store some user-provided configuration. Then, in my `missingProperty` function, I can access that singleton without triggering and endless loop. It seems to work great. Any thoughts about that approach?

How are env, currentBuild, etc. bound to vars in shared library

2019-07-18 Thread Ken Petti
Hello, I'm developing a shared library for us across several business units. We want to have 1 repo that all BU's can use, but also want to separate functionality by business unit. Additionally, we want users to consume the latest non-breaking changes of the library. I'm experimenting with a na