Child pages
  • TeamCity Hub Plugin

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. On the Administration | Hub Settings page provide the Hub URL of the following format http://HubHOST:port/hub.

  2. Сlick Register TeamCity service in Hub.  

    Note

    Note that the Guest user in Hub needs to be allowed (unbanned) for the TeamCity service registration in Hub.

  3. You will be redirected to the Services page in Hub. Verify the TeamCity Hub service using the Trust button. 

  4. After you trust the TeamCity service in Hub, return to the TeamCity Web interface to configure user synchronization. 

...

 

hidden-data
Enabling access to TeamCity from Hub Dashboard
After registering ofthe TeamCity service in Hub, TeamCity widgets can be configured on Hub dashboard. 
ButThe widgets will not work until required additional configuration ison performedthe on TeamCity side.
Hub Dashboard uses TeamCity REST API [Link] to access TeamCity data. But since REST API requests are performed on behalf of the current user and from a different host, so REST API CORS settings shouldhave to be configured appropriately. Forusing thisthe twofollowing internal properties should be set[link]:
rest.cors.origins=<hub url>
rest.cors.optionsRequest.allowUnauthorized=true

...