GString might be a bit crazy to escape some chars, maybe it's worthy to create a sh file somewhere and just call it? Then you get the benefits of being able to call/use it without the need to be in the pipeline itself.
My two cents -- You received this message because you are subscribed to the Google Groups "Jenkins Users" 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-users/af107496-9a0e-4dbf-89d7-32e60bc192f0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
