Interface ParametersPreprocessor

  • All Superinterfaces:
    ServerExtension, TeamCityExtension

    public interface ParametersPreprocessor
    extends ServerExtension
    This interface allows to register some preprocessors for run and build parameters right before running build on the build agent.

    It allows to remove some parameters both from build parameters and from run parameters.

    These preprocessors are run after BuildStartContextProcessor.

    • Method Detail

      • fixRunBuildParameters

        void fixRunBuildParameters​(@NotNull
                                   SRunningBuild build,
                                   @NotNull
                                   Map<String,​String> runParameters,
                                   @NotNull
                                   Map<String,​String> buildParams)
        Allows to modify list of runner parameters and build parameters when build is started
        Parameters:
        build - a build
        runParameters - modifiable run parameters to preprocess.
        buildParams - modifiable build parameters to preprocess.