Package jetbrains.buildServer.serverSide
Interface BuildStartContext
-
- All Known Implementing Classes:
BuildStartContextImpl
public interface BuildStartContextContext of parameters that will be send to the build agent to start the build.- Since:
- 6.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddSharedParameter(String key, String value)Adds a build parameter which should be available to all of the steps.SRunningBuildgetBuild()Collection<? extends SRunnerContext>getRunnerContexts()Map<String,String>getSharedParameters()Returns the map of build parameters shared among all of the steps.
-
-
-
Method Detail
-
getBuild
@NotNull SRunningBuild getBuild()
- Returns:
- running build that will be sent to a build agent
- Since:
- 6.0
-
getSharedParameters
@NotNull Map<String,String> getSharedParameters()
Returns the map of build parameters shared among all of the steps. UseConstants.SYSTEM_PREFIXfor system properties andConstants.ENV_PREFIXfor environment variables. Parameters without these prefixes are treated as configuration parameters.- Returns:
- shared parameters readonly map
- Since:
- 6.0
-
addSharedParameter
void addSharedParameter(@NotNull String key, @NotNull String value)Adds a build parameter which should be available to all of the steps. UseConstants.SYSTEM_PREFIXfor system properties andConstants.ENV_PREFIXfor environment variables. Parameters without prefix are configuration parameters- Parameters:
key- keyvalue- value- Since:
- 6.0
-
getRunnerContexts
@NotNull Collection<? extends SRunnerContext> getRunnerContexts()
- Returns:
- unordered collection of build runner contexts
- Since:
- 6.0
-
-