Hi Joice,

It is not possible at all. Workspace in builds is being determined 
according to many logic handlers including build params. You cannot foresee 
the workspace before the build starts. It is possible to get a workspace of 
the previous build, but such approach is error-prone as well. 

A general recommendation would be to publish XML files as artifacts and 
take them as sources

четверг, 10 сентября 2015 г., 20:13:19 UTC+3 пользователь Joyce Gaoiran 
написал:
>
> I have an XML file located in the jobs workspace.  The XML file needs to 
> be parsed for a version and displayed as a dynamic parameter.  I have 
> several jobs which has the requirement so I've used the plugin, Extensible 
> Choice Parameter, as an extension point.  Is there a class within the 
> jenkins api which can be used to access/determine the workspace before the 
> build has started?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" 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-dev/f32183e2-8b49-46cd-b2b1-7eeb4d3f32da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to