Hi Guys,
I'm in bit of a jam.
I've written a plugin which takes in a string/xml-struct which contains
variables. Like the following.
<sign><board>${BOARDNAME}</board><version>${VERSIONHEAD}</version><full_version>${FULLVERSION}</full_version></sign>
These variables are setup by the parameterized plugin, i've tested this by
creating a shell script build-step which calls `echo $BOARDNAME`
And this works, the variables show the actual values!
However if I pass this string to my plugin, it seems that the variables
aren't dereferenced.
I'm getting the same string as the one above, while i expected a string in
the format like this.
<sign><board>board_name</board><version>11.11.1</version><full_version>11.11.1-00100</full_version></sign>
So my question is how can I dereference these variables properly, without
losing the generic-ness of the plugin.
Since i want the plugin to remain generic, in the sense that others can use
other variables for their projects depending their needs.
Am i missing some vital part of the jenkins-framework, which is able to do
this?
Or am i one of the first who could use/need this functionality?
With kind regards,
Jacobs Dennis.
--
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/87a02725-3cfb-4769-ab43-18c02d5fe022%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.