Interface BuildRunnerEnvironmentPreprocessor
-
- All Superinterfaces:
AgentExtension
,TeamCityExtension
public interface BuildRunnerEnvironmentPreprocessor extends AgentExtension
This extension can be used to modify system environment available to a build step. Extension can be called several times for the same runner. This happens because runner parameters can be changed and after each change next resolution of parameters will call this extension.- Since:
- 2017.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
preprocessBuildRunnerEnvironment(BuildRunnerSettings runnerSettings, Map<String,String> environmentVariables)
This method can modify map of agent environment variables before they are used to resolve parameters used to start specified runner.
-
-
-
Method Detail
-
preprocessBuildRunnerEnvironment
void preprocessBuildRunnerEnvironment(@NotNull BuildRunnerSettings runnerSettings, @NotNull Map<String,String> environmentVariables)
This method can modify map of agent environment variables before they are used to resolve parameters used to start specified runner.- Parameters:
environmentVariables
- environment variables of the agent process, same asSystem.getenv()
. Note: all environment variables will have env. prefix.
-
-