Hi folks,
this is somewhat embarassing for me to ask as I thought I am past that
level of expertise but I am facing a pretty basic problem.
I have done research on this issue before addressing it here (of course)
but still no joy.
I have a batch build step followed by an Ant build step.
The batch build step defines with some steps and string manipulation a
parameter that has to be passed to the Ant script.
Just to mention it, the variable is encapsuled in qoutes due to spaces
which else will break the build.
So it looks like
*Batch build:
*SET param="Went there - didnt like it"
*Ant build:
*Ant*:* ant
Target:jar
Build File: TGHU/build.xml
Properties: *param*
the bold *param *is just a placeholder in this example
I have tried all kind of formatting like %param%, $param, ${param},
${ENV,var=param}, ${ENV,var="param"} and still no joy.
The variables are processed in the proerty section. That works also in
other jobs but I have obviously never been facing this scenario where the
value comes from a preceeding build step and not a build parameter.
In email-ext do we use variables from build steps but still, I don't see
the difference.
Do I miss here something or is it for Ant build steps impossible to grab
variable from other build steps?
Thanks in advance
Jan