Parameter from Parameter Provider gets Overwritten by User Defined Parameter

I have a parameter provider plugin to provide a parameter let's say

Teamcity requires me define as a user defined parameter in the build configuration if I want to use it in a build step(e.g. Powershell), otherwise all agents won't meet the requirements.

The problem is that the value of parameter is always the one from the User Defined Parameter(which is just an empty string), not from the ParameterProvider.

1 comment
Comment actions Permalink
Official comment


To ensure that there's no agent requirement created you should also implement `jetbrains.buildServer.serverSide.parameters.BuildParametersProvider#getParametersAvailableOnAgent` and return name of your parameter, e.g. ``.

Please sign in to leave a comment.