java - Query Environment Variables values defined in Jenkins Global Properties using API -


i have configured environment variable under:

manage jenkins -> configure system -> global properties.

i'm able use environment variable in jobs can't seem find way query remotely using api.

is displayed anywhere?

we setting global environments this:

for (nodeproperty in hudson.model.hudson.instance.globalnodeproperties) {     sitespecific.global_environment.each {key, value ->         println "info: adding: ${key}:${value}"         nodeproperty.getenvvars().put(key, value)     }      hudson.model.hudson.instance.save() } 

so should able read them same way, not through api, couldn't find way that.


Comments

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -