Skip to content

Instantly share code, notes, and snippets.

View farazxameer's full-sized avatar

xameer farazxameer

  • Hyderabad, India
View GitHub Profile
@k9ert
k9ert / gist:3e6d64f620b0254d4ad7
Created June 24, 2014 22:11
example for a Pre-send Script in the JENKINS/Email-ext+plugin
// 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);