Package jetbrains.buildServer.agent
Interface AgentBuildParameters
-
- All Known Implementing Classes:
AgentBuildParametersImpl
public interface AgentBuildParametersInterface to control build parameters.- Since:
- 4.0
- Author:
- Eugene Petrenko
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddBuildEnvironmnentVariable(String name, String value)Adds environment variable to the build process Creates build parameters withConstants.ENV_PREFIXprefix Note, on Windows machines environment size is limited.voidaddBuildSystemProperty(BuildParameterPolicy policy, String name, String value)Adds build system property to the build process Creates build parameters withConstants.SYSTEM_PREFIXprefix
-
-
-
Method Detail
-
addBuildEnvironmnentVariable
void addBuildEnvironmnentVariable(@NotNull String name, @NotNull String value)Adds environment variable to the build process Creates build parameters withConstants.ENV_PREFIXprefix Note, on Windows machines environment size is limited.- Parameters:
name- name, may be case sensitive or not depending on OSvalue- value
-
addBuildSystemProperty
void addBuildSystemProperty(@NotNull BuildParameterPolicy policy, @NotNull String name, @NotNull String value)Adds build system property to the build process Creates build parameters withConstants.SYSTEM_PREFIXprefix- Parameters:
name- name, may be case sensitive or not depending on runnervalue- valuepolicy- defines weather build parameter is mandatory or not
-
-