Can you give examples of what you have tried? I would recommend using Groovy for sure, Jelly is painful at best.
On Wed, Nov 27, 2013 at 11:52 AM, Daniel Barker <[email protected]>wrote: > At work, we use a social networking system based on Jive. We have the > ability to email to the service, but it has sever limitations on what > characters can be included. We currently manipulate the output via the > actual programs we are running, but we want a plugin type solution for > Jenkins. We need to be able to remove/replace characters like [, ], {, }, > --, etc. We want to output the entire log or parts of it depending on the > particular job. > > > I have tried both the Jelly script and Groovy script methods, but neither > seem to support the parts I need. In Jelly, I used fn:replace, and in > Groovy, I tried to use a matcher. I haven't been able to figure out what > the limitations are for these scripts with this extension or how to extend > them if possible. > > > I have thought about adding some functionality to the actual plugin or > creating a new plugin that can do some pre-processing. The first option > wouldn't be too hard, but it has obvious drawbacks within the bounds of > modifying well-established, working code. The second option would require a > great deal more effort for limited functionality. Any advice would be much > appreciated. Thanks in advance. > > -- > 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]. > For more options, visit https://groups.google.com/groups/opt_out. > -- Website: http://earl-of-code.com -- 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]. For more options, visit https://groups.google.com/groups/opt_out.
