JeanRev / TeamcityDockerCloudPlugin

Docker Cloud Plugin for the TeamCity build server
Apache License 2.0
33 stars 10 forks source link

Fixes agent authorization problem with TeamCity 2024.03.2 #48

Open pavelsher opened 5 months ago

pavelsher commented 5 months ago

It seems that the method init in the AgentController.java was never called in production, as a result the configuration parameters which were passed to the agent via environment variable were never added to the BuildAgentConfiguration instance.

In TeamCity 2024.03.2 these configuration parameters now have a token which is essential for the agent authorization and if it is not provided then the agent won't be authorized.

The changes fix this problem as well as upgrade Gradle to 0.4.5 and bump the version of the plugin to 0.5.3.