I am having some information in build.xml file which I would like to access in Jenkins email plugin,to be able to send that parameter. How can I access the parameter in Jenkins ?
How can I read build.xml parameters into Jenkins ?
1.5k views Asked by rk3024 At
1
I would recommend to use the Inject Env plugin.
Instead of reading the build.xml file, move your properties in a dedicated file (build.properties for example).
Next, this plugin can inject variables in your job using the build.properties file.