This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin | |
// An example for a Pre-send Script | |
// Assume output log-output like: | |
// ERROR: yourmail@company.com please fix | |
import javax.mail.internet.* | |
logger.print("This ends up in the log as well"); | |
String encodingOptions = "text/html; charset=UTF-8;"; | |
// msg.setContent("please check!!!!", encodingOptions); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin | |
// An example for a Pre-send Script | |
// Assume output log-output like: | |
// ERROR: yourmail@company.com please fix | |
import javax.mail.internet.* | |
logger.print("This ends up in the log as well"); | |
String encodingOptions = "text/html; charset=UTF-8;"; | |
// msg.setContent("please check!!!!", encodingOptions); |