Remote service trigger with mail
Project description
Mail Trigger
Requirements
- Python (3.7+)
- pip
- python-dev
Installation
On Ubuntu / Mint, install Mail Trigger with the following commands:
sudo apt update
sudo apt install python3-dev python3-pip python3-setuptools
sudo pip3 install mailtrigger
On OS X, install Mail Trigger via Homebrew (or via Linuxbrew on Linux):
TBD
On Windows, install Mail Trigger with the following commands:
TBD
Updating
pip3 install mailtrigger --upgrade
Settings
Several Mail Trigger parameters can be set in the file config.json.
An example of config.json:
{
"debug": false,
"pop3": {
"host": "pop.example.com",
"pass": "pass",
"port": 995,
"ssl": true,
"user": "user"
},
"smtp": {
"host": "smtp.example.com",
"pass": "pass",
"port": 465,
"ssl": true,
"user": "user"
}
}
Usage
Title
[trigger]: Write your description here
Note: [trigger]
is the reserved word in title
Recipient
The recipient is mail receiver as Mail Trigger.
Content
Gerrit Trigger
@gerrit help
@gerrit list
@gerrit restart <host>
@gerrit start <host>
@gerrit stop <host>
@gerrit verify <host>
@gerrit <host>:<port> review
[--project <PROJECT> | -p <PROJECT>]
[--branch <BRANCH> | -b <BRANCH>]
[--message <MESSAGE> | -m <MESSAGE>]
[--notify <NOTIFYHANDLING> | -n <NOTIFYHANDLING>]
[--submit | -s]
[--abandon | --restore]
[--rebase]
[--move <BRANCH>]
[--publish]
[--json | -j]
[--delete]
[--verified <N>] [--code-review <N>]
[--label Label-Name=<N>]
[--tag TAG]
{COMMIT | CHANGEID,PATCHSET}
Jenkins Trigger
@jenkins help
@jenkins list
@jenkins <host>:<port> build JOB [--parameter <PARAMETER> | -p <PARAMETER>]
@jenkins <host>:<port> list
@jenkins <host>:<port> query JOB
@jenkins <host>:<port> rebuild JOB
@jenkins <host>:<port> stop JOB
@jenkins <host>:<port> verify JOB
Jira Trigger
@jira help
Trigger Help
@help
License Apache
Project License can be found here.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mailtrigger-0.0.2.tar.gz
(6.2 kB
view details)
Built Distribution
File details
Details for the file mailtrigger-0.0.2.tar.gz
.
File metadata
- Download URL: mailtrigger-0.0.2.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d479ef94436537bbe22712b82b7b7d2330e897e8ac48049d44267198034a3bd |
|
MD5 | a1c5306a5b099addcfbdbf1b01866d12 |
|
BLAKE2b-256 | 314f6127f007ab75f798bd6263a2c04b6d692bc4d03fd25cadeadc5e04770d09 |
File details
Details for the file mailtrigger-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: mailtrigger-0.0.2-py3-none-any.whl
- Upload date:
- Size: 15.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24427411c52c056a84ccd170bba4ebadf17ba54f0c1147b98af90ffaff5eca99 |
|
MD5 | 60c201960160c68e13b4bfa4e7338231 |
|
BLAKE2b-256 | 8ddf85e96c5f63df3941166c8a476bf380611efc4bd8f1f440aa3b8cd3ef5eba |