title: how can I pass my variable into Default Content in emailext jenkins pipeline
body: <p>I'm using script pipeline to send email, and would like to use DEFAULT CONTENT for email body.
  my script</p>
  <pre><code>    def mailRecipients = &quot;user@mydomain.com&quot;
      def result = '1234567'
      emailext (
          subject: &quot;${buildStatus}: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]'&quot;,
          body: '${DEFAULT_CONTENT}',
          //recipientProviders: [[$class: 'DevelopersRecipientProvider'],[$class: 'RequesterRecipientProvider']]
          mimeType: 'text/html',to: &quot;${mailRecipients}&quot;
  </code></pre>
  <p>my body is:</p>
  <p><a href="https://i.stack.imgur.com/dEBVv.png" rel="nofollow noreferrer">enter image description here</a></p>
  <p>how can i pass variable result from pipeline to default content email body</p>