i\'d like to modify the email message i send from jenkins. how can i do it? i tried to use msg variable and set the content using msg.setContent(\"this is the string i want in t
I've just faced same task:
msg.setContent("Test content", 'text/html')
worked for me.
I guess possible types are 'text/html' and 'text/plain', check that you are changing the proper one.