I couldnt find anything as well, even the variables set in Jenkins for this 
node are not reachable from Jenkins API

I think you'd be better of using Jenkins CLI running a groovy script to 
retrieve the variables, at least the ones set from inside Jenkins, and 
output them in an xml

W dniu czwartek, 21 sierpnia 2014 17:43:57 UTC+2 użytkownik SA Evans 
napisał:
>
> I am working on a project where I want to try and programmatically obtain 
> a specific node's Jenkins environment variable via an api call (i.e. 
> <jenkinsurl>/computer/<node>/api/xml) that's set as a node property 
> environment variable on the node configure page.  However, I cannot find 
> any way to get the /api/xml to return the currently-configured environment 
> variables, no matter the depth of the search.  I don't want to have to 
> resort to running a job on that node to pull out the variable value.
>
> Thoughts/ideas?
>
> Thanks!
> Scott
>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to