mirror of https://github.com/zulip/zulip.git
43 lines
1.5 KiB
JSON
43 lines
1.5 KiB
JSON
|
{
|
||
|
"username":"TeamCity",
|
||
|
"icon_url":"https://raw.githubusercontent.com/tcplugins/tcWebHooks/master/docs/icons/teamcity-logo-48x48.png",
|
||
|
"attachments":[
|
||
|
{
|
||
|
"title":"Failed (broken) : ${buildName} <${buildStatusUrl}|build #${buildNumber}>",
|
||
|
"fallback":"Failed (broken) : ${buildName} build #${buildNumber}",
|
||
|
"color":"danger",
|
||
|
"fields":[
|
||
|
{
|
||
|
"title":"Status",
|
||
|
"value":"${buildStatus}"
|
||
|
},
|
||
|
{
|
||
|
"title":"Project Name",
|
||
|
"value":"<${rootUrl}/project.html?projectId=${projectExternalId}|${projectName}>",
|
||
|
"short":true
|
||
|
},
|
||
|
{
|
||
|
"title":"Build Name",
|
||
|
"value":"<${rootUrl}/viewType.html?buildTypeId=${buildExternalTypeId}|${buildName}>",
|
||
|
"short":true
|
||
|
},
|
||
|
{
|
||
|
"title":"Commit",
|
||
|
"value":"<${buildStatusUrl}&tab=buildChangesDiv|${substr(build.vcs.number,0,7,32)}>",
|
||
|
"short":true
|
||
|
},
|
||
|
{
|
||
|
"title":"Triggered By",
|
||
|
"value":"${triggeredBy}",
|
||
|
"short":true
|
||
|
},
|
||
|
{
|
||
|
"title":"Agent",
|
||
|
"value":"${agentName}",
|
||
|
"short":true
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|