Add webhook file

Former-commit-id: e94336938026eb6d2fee86fffe0f6ff0ae973871
This commit is contained in:
Ghost_chu committed 2020-07-31 15:55:16 +08:00
1 parent 84789fcb19
commit cbe4e7abc6
1 file changed
+41
+41
View File
@@ -0,0 +1,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"
}
}
]
}