forked from PotatoCraft-Studio/QuickShop-Reremake
-
Notifications
You must be signed in to change notification settings - Fork 0
/
webhook.json
41 lines (41 loc) · 1.03 KB
/
webhook.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"username": "Jenkins Webhook",
"avatar_url": "https://i.loli.net/2020/07/31/8Z2sEvD137uUlRf.jpg",
"content": "New build available!",
"embeds": [
{
"author": {
"name": "Jenkins CI",
"url": "https://ci.codemc.io",
"icon_url": "https://i.loli.net/2020/07/31/8Z2sEvD137uUlRf.jpg"
},
"title": "New SNAPSHOT #$BUILD_ID available",
"url": "$BUILD_URL",
"description": "New snapshot of $POM_ARTIFACTID now is available!",
"color": 15258703,
"fields": [
{
"name": "Author",
"value": "$GIT_AUTHOR_NAME",
"inline": true
},
{
"name": "Branch",
"value": "$GIT_BRANCH",
"inline": true
},
{
"name": "Commit Message",
"value": "$GIT_COMMIT_MESSAGE"
},
{
"name": "Download Snapshot",
"value": "[Click Here]($BUILD_URL) to download"
}
],
"footer": {
"text": "Jenkins CI - Discord Webhook"
}
}
]
}