Email-ext and Workflow/Pipeline - some tokens not being expanded?
问题 I'm trying to use the email-ext plugin in a Jenkins pipeline job, but most of the tokens I take for granted when using email-ext in a freestyle job aren't being expanded? e.g. node { emailext body: '${DEFAULT_CONTENT}', mimeType: 'text/html', replyTo: '$DEFAULT_REPLYTO', subject: '${DEFAULT_SUBJECT}', to: '$DEFAULT_RECIPIENTS' } Generates the email: Subject: $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS! Body: $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS: Check console output