I have some custom properties set on my Jenkins instances, and I’d like to get one of those in a pipeline. Having trouble finding out how.
I have a set of properties set with System.setProperty() in my Jenkins init.groovy. Can see them in the Jenkins System Information page. I’ve tried many permutations of env.MY_PROP, but all are null.
Tried System.getProperty(), but that requires script approval. Is there any other way to get this without an approval?
-Alan