41 lines
1.0 KiB
JSON
41 lines
1.0 KiB
JSON
{
|
|
"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"
|
|
}
|
|
}
|
|
]
|
|
} |