TeamCity is the continuous integration server developed by JetBrains. By adding the TeamCity Activity macro to a Confluence page, you can display information about the recent TeamCity activity on your Confluence pages. Before you can use this macro, your Confluence and TeamCity server should be connected via Application Links. People viewing the page will see information about the recent TeamCity activity fetched through the application link. Data are retrieved through TeamCity user account, so Confluence users needn't even have an account in TeamCity to view its activity. The add-on supports work with multiple TeamCity servers, so you can instantly view all activity in one place.
1. In the Select Macro form, select the TeamCity Build Configuration macro.
...
If you want to view build changes, click the down arrow icon to expand the list of changes added into the build. You can view the files that were created, edited or deleted in the result of modifications, by clicking the N files link.
Code examples
The following examples are provided for advanced users who want to inspect or edit the underlying markup for a Confluence page.
Macro name: teamcity-build-type
Macro body: None.
The following parameters are available in storage format.
Parameter Name | Required | Default | Parameter description and accepted values |
---|---|---|---|
project | yes | n/a | Name of the project, which build configuration is fetched for. All projects are retrieved from TeamCity server. |
bt | yes | n/a | Name of the build configuration, which information is fetched for. All values for build configurations are retrieved from TeamCity server. |
Storage format example
Below you can find the example of storage format. The selected application link is not indicated anyhow in the storage format.
Code Block | ||
---|---|---|
| ||
<ac:structured-macro ac:name="teamcity-build-type"><ac:parameter ac:name="project">Amazon API client</ac:parameter><ac:parameter ac:name="bt">Build</ac:parameter></ac:structured-macro> |