Unable to find source-code formatter for language: groovy. Available languages are: actionscript, html, java, javascript, none, sql, xhtml, xml
pipeline {
agent none
stages {
stage('Test Email') {
agent any
steps {
script {
try {
echo "emailext body: 'Hello World', recipientProviders: [recipients()], subject: 'Hi', to: '\$FAVORITE_USERS_EMAIL'"
emailext body: 'Hello World - fifth', recipientProviders: [recipients()], subject: 'Hi', to: '\$FAVORITE_USERS_EMAIL'
} catch(e) {
echo "${e.getMessage()}"
echo "Failed to send email"
}
}
}
}
}
}