Mail Commander Plugin

Skip to end of metadata
Go to start of metadata

Plugin Information

Plugin ID mailcommander Changes In Latest Release
Since Latest Release
Latest Release
Latest Release Date
Required Core
Dependencies
1.0.0
Mar 29, 2011
1.398
Source Code
Issue Tracking
Maintainer(s)
GitHub
Open Issues
Naoto Shikakura (id: sikakura)
Usage Installations 2013-Apr 241
2013-May 259
2013-Jun 274
2013-Jul 277
2013-Aug 290
2013-Sep 269
2013-Oct 310
2013-Nov 283
2013-Dec 295
2014-Jan 303
2014-Feb 316
2014-Mar 338

Mail Commander Plugin

This plugin is provide function that command with e-mail. Write CLI command to e-mail subject and send to pre setting address. Mail Commander recieve e-mail from pre setting address, and read e-mail subject as CLI command, execute it.

Overview

  1. You write a mail with CLI command subject and send to a address which is configured by mail commander.
  2. Jenkins get a "command mail" from POP3 Server and read subject, then execute a CLI Command.
  3. Send a mail of job result to command sender. To decide mail address , use recieve mail's from address.
  4. You recieve a mail with result.

     ※ Notice

     You can recieve result that is CLI command' s result not a build result.

Howto use

  1. Install "mail commander" from menu 'Jenkins>>Plugin manager>>mail commander'.

          Please configure E-mail Notification ( Menu 'Manage Jenkins >> Configure System >> E-mail Notification ) SMTP server, System Admin E-mail Address and Jenkins URL.

         

               
     2.   You configure job parameter. Parameter have three points that is build, post build action, and build trigger.

         <Step 1. Build> please select "Mail Commander" and set parameter.

                

         <Step 2. Post Build Action> please check "MailCommander Notification".

                

        <Step 3. Build Triggers> please check "MailCommander Polling" and schedule.

                

        3.  You can write a CLI command in subject and send a mail to POP3 User's address. Please remove -s option (ex. "-s http://~" ) from normal CLI command.

           normal CLI command sample : java -jar jenkins-cli.jar -s http://localhost:8080/ build testjob

           Mail commander CLI subject sample  : build testjob

          

Optional function

  • Mail Commander find "groovy" in subject, it is proccess mail content as groovy script.

Change Log

Release 1.0.0

  • initial release.

Labels

Edit
plugin-misc plugin-misc Delete
plugin-trigger plugin-trigger Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Add Comment