Telegram | Slack |
---|---|
![]() |
![]() |
Mattermost | |
![]() |
![]() |
Skype | Icq |
Done | Wat? lol |
key | description |
---|---|
projectName | Name of project |
env | Environment (Test, Prod, etc.) name |
comment | Any comment here |
reportLink | Jenkins Build URL |
config.file | Path to JSON-config file |
java \
"-DprojectName=${PROJECT_NAME}" \
"-Denv=${ENVIRONMENT}" \
"-DreportLink=${BUILD_URL}" \
"-Dcomm=Any comment here" \
"-Dconfig.file=${PATH_TO_FILE}" \
-jar allure-notifications-3.1.2.jar
{
"app": {
"bot": {
"token": "",
"chat": "",
"replyTo": ""
},
"base": {
"lang": "",
"messenger": "",
"allureFolder": "",
"allureLinkPath": "",
"chart": false,
"chartName": "",
"project": ""
},
"mail": {
"host": "",
"port": "",
"username": "",
"password": "",
"enableSSL": false,
"from": "",
"recipient": ""
},
"mattermost": {
"url": ""
},
"proxy": {
"host": "",
"port": 0,
"username": "",
"password": ""
},
"skype": {
"appId": "",
"appSecret": "",
"serviceUrl": "",
"conversationId": "",
"botId": "",
"botName": ""
}
}
}
You only need to feel needed options in bot
, base
, mail
or proxy
section. Please, be careful, lang
and messenger
fields are required!
Example for Telegram messenger:
{
"app": {
"bot": {
"token": "asdhsdgfjsdfgFgjhg4831)@",
"chat": "-1",
"replyTo": ""
},
"base": {
"lang": "en",
"messenger": "telegram",
"allureFolder": "build/allure-report/",
"allureLinkPath": "allure",
"chart": true,
"chartName": "",
"project": ""
},
"mail": {
"host": "",
"port": "",
"username": "",
"password": "",
"enableSSL": false,
"from": "",
"recipient": ""
},
"mattermost": {
"url": ""
},
"proxy": {
"host": "",
"port": 0,
"username": "",
"password": ""
},
"skype": {
"appId": "",
"appSecret": "",
"serviceUrl": "",
"conversationId": "",
"botId": "",
"botName": ""
}
}
}