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

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/DM6PR18MB3306760BB14766C0D5D1C9D8C5420%40DM6PR18MB3306.namprd18.prod.outlook.com.

Reply via email to