Simple collection of Groovy scripts to help me maintain some Jenkins systems.
See also https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Script+Console
Simple collection of Groovy scripts to help me maintain some Jenkins systems.
See also https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Script+Console
| *.iml | |
| .gradle | |
| /local.properties | |
| /.idea/workspace.xml | |
| /.idea/libraries | |
| .DS_Store | |
| /build | |
| /captures | |
| .externalNativeBuild |
| 'use strict'; | |
| const nodemailer = require('nodemailer'); | |
| // Generate test SMTP service account from ethereal.email | |
| // Only needed if you don't have a real mail account for testing | |
| nodemailer.createTestAccount((err, account) => { | |
| // create reusable transporter object using the default SMTP transport | |
| let transporter = nodemailer.createTransport({ | |
| host: 'smtp.ethereal.email', |