Skip to content

v2.0.0-rc.3

Pre-release
Pre-release
Compare
Choose a tag to compare
@netwolfuk netwolfuk released this 08 Oct 02:37

Bugfix for TC 2023.05.4, remove Build Agent component, and Add $dateTool variable available for velocity templates

Bugfix for TC 2023.05.4 throwing 500 error on webhook save

A method not found error was being thrown when editing a webhook via the tcWebHooks REST API.
The most recent version of TeamCity removes a function from their REST API which allows conditionally including an object.
This fix removes reliance on this method, and uses a different method to determine whether to populate the parameters object in a WebHook configuration.

Removed the tcWebHooks agent plugin.

The agent plugin was forcing all agents to connect, download the agent plugins, restart and then re-connect. On large systems this process puts additional load on the default TeamCity thread pool.
Fixed a regression where this component was still available in v2.0.0-rc-2

Add $dateTool variable available for velocity templates

This allows us to get the current date, and other functions as described by Velocity DateTool

Note: in those examples, they refer to $date. In our implementation it is $dateTool, because $date is already in use for a formatted date string.

Full Changelog: v2.0.0-rc2...v2.0.0-rc.3