## Macro name: teamcity ## Macro has a body: Y ## Body format: Macro body wiki to html ## Output: html ## ## Version: 0.1 ## ## Developed by: Pieter van Geer ## Date created: 08/06/2010 ## Installed by: ## This macro enables the teamcity widget to be displayed in a confluence page. #if (!($param0 == "help") && !($generalUtil.convertToString($body).replaceAll(' ', '').replaceAll('\n', '') == "")) #set($url= $paramurl) ## Check for url, otherwise use default (http://wl06978.wldelft.nl) #if (!$url) #set($url="http://wl06978.wldelft.nl") #end ## Include style ## Retrieve string from body #set($bodyList= $generalUtil.convertToString($body).replaceAll(' ', '').replaceAll('\n', '')) ## Include confluence widget #else
This macro can be used to include the teamcity status widget in your confluence page. Useage is as follows:

{teamcity:url=http://yourteamcityserver.com} --> url is optional
{teamcity-configuration:#conf_number1}
{teamcity-project:#proj_number}
{teamcity-configuration:#conf_number2}
{teamcity}

In which:
How to find configuration and project numbers is described in the Teamcity documentation
#end