Your right .. I had to play around with the different jelly tags for it to
work in a jelly script:
The best solution that works for me in a jelly script:
${rep_content.asXML()}
FYI... the use of the wrote:
> Yes... It just really couldn't get jelly script to work to my
> satisfacti
Yes... It just really couldn't get jelly script to work to my satisfaction.
Probably if I had more experience and better tools loaded my opinion might
change but "JellyException: Could not parse Jelly script : null" isn't a
particularly enlightening error.
On Tuesday, October 16, 2012 8:43:33 A
Thanks that is exactly what I needed. I ended up using the following:
<% def versionString = ""
def channel = null
if (build.workspace.isRemote())
{
channel = build.workspace.channel
}
fp = new hudson.FilePath(channel, build.workspace.toString() +
"\\Build\\version.txt")
if (fp != null) {
versio
Bryan,
FYI ... have you tried to achieve the same result using JELLY scripting?
..
Mgimza
On Mon, Oct 15, 2012 at 8:48 PM, Slide wrote:
> You probably want to look at the FilePath [1] documentation and use that
> in the script. As for modifying the subject, you will need to upgrade to
> >2.22
You probably want to look at the FilePath [1] documentation and use that in
the script. As for modifying the subject, you will need to upgrade to >2.22
for that.
Thanks,
slide
[1] - http://javadoc.jenkins-ci.org/hudson/FilePath.html
On Mon, Oct 15, 2012 at 5:27 PM, Bryan Hunt wrote:
> New su