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