Why does the following pipeline produce an email with no embedded CR. This is the result email body:
stage ('Email changes since last successful client build') {
node('old_master') {
def qaRequests = "exmaple of \n\n carriage returns \n\n"
echo qaRequests
def emailBody = " Test message:\n\n${qaRequests}\n\n"
emailext recipientProviders: [[$class: 'RequesterRecipientProvider']], to: emailTo, body: emailBody, subject: 'msg body tests'
}
}
--