Interface AgentBuildParameters


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

      • addBuildEnvironmnentVariable

        void addBuildEnvironmnentVariable​(@NotNull
                                          java.lang.String name,
                                          @NotNull
                                          java.lang.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
                                    java.lang.String name,
                                    @NotNull
                                    java.lang.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