Why does the following pipeline produce an email with no embedded CR. This
is the result email body:
Test message: exmaple of carriage returns
This is the pipeline:
stage ('Email changes since last successful client build') {
node('old_master') {
def qaRequests = "exmaple of \n\n carriage returns \n\n"
echo qaRequests
def emailTo = '[email protected]'
def emailBody = " Test message:\n\n${qaRequests}\n\n"
emailext recipientProviders: [[$class:
'RequesterRecipientProvider']], to: emailTo, body: emailBody, subject: 'msg
body tests'
}
}
--
Dick Ginga
Build Engineer
[email protected]
--
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/CAL3PpaWA_ovQu_AC4XpEUAbkoqW5cm%2BUsnKQ1f_R%2BEuEHfTfiQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.