I am using Jenkins as CI. I have an build.xml. Build.xml
has code like below.
<property name="environment" value="$environment}" />
How can i pass value to build.xml from Jenkins ? Can i pass it through environment variables?
You can set properties with build parameters (ie: myParameter) and get them in an ant script with ${myParameter}
.
Just make sure you don't use dots in parameters names in jenkins because there might be problems getting them in the ant script.
As for environment variables, i don't know, sorry.