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 jenkinsci-de...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-dev/ABg9iqvDSVM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-de...@googlegroups.com.
I concur. That would be a noble endeavor. However, in the meantime perhaps something could be added to the docs stating a preference for Groovy. It would certainly help noobs like me to focus on only one at the outset.