Interface AgentBuildParameters

  • All Known Implementing Classes:
    AgentBuildParametersImpl

    public interface AgentBuildParameters
    Interface to control build parameters.
    Since:
    4.0
    Author:
    Eugene Petrenko
    • Method Detail

      • addBuildEnvironmnentVariable

        void addBuildEnvironmnentVariable​(@NotNull
                                          String name,
                                          @NotNull
                                          String value)
        Adds environment variable to the build process Creates build parameters with Constants.ENV_PREFIX prefix Note, on Windows machines environment size is limited.
        Parameters:
        name - name, may be case sensitive or not depending on OS
        value - value
      • addBuildSystemProperty

        void addBuildSystemProperty​(@NotNull
                                    BuildParameterPolicy policy,
                                    @NotNull
                                    String name,
                                    @NotNull
                                    String value)
        Adds build system property to the build process Creates build parameters with Constants.SYSTEM_PREFIX prefix
        Parameters:
        name - name, may be case sensitive or not depending on runner
        value - value
        policy - defines weather build parameter is mandatory or not