Package com.atlassian.bamboo.variable
Class BuiltInVariableHelper
java.lang.Object
com.atlassian.bamboo.variable.BuiltInVariableHelper
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
Deprecated.since 5.1static final String
static final String
static final String
static final String
static final String
Deprecated.since 5.1static final String
static final String
Deprecated.since 5.1static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addVariableContext
(@NotNull Map<String, VariableDefinitionContext> variables, @NotNull String key, @Nullable String value, @NotNull VariableType variableType) Helper function addingVariableDefinitionContext
to a map that can later be used during variable substitution.static void
createRepositoryVariables
(@NotNull Map<String, VariableDefinitionContext> variables, @NotNull ResultsSummary resultsSummary, @NotNull VariableType variableType, @NotNull RepositoryDefinitionManager repositoryDefinitionManager, @NotNull VcsRepositoryManager vcsRepositoryManager) static void
createRepositoryVariables
(@NotNull Map<String, VariableDefinitionContext> variables, @NotNull List<PlanRepositoryDefinition> repositoryDefinitions, @NotNull BuildChanges buildChanges, @NotNull VariableType variableType, @NotNull VcsRepositoryManager vcsRepositoryManager)
-
Field Details
-
NAMESPACE_BAMBOO
- See Also:
-
NAMESPACE_SYSTEM
- See Also:
-
PLAN_KEY
- See Also:
-
PLAN_NAME
- See Also:
-
SHORT_PLAN_KEY
- See Also:
-
SHORT_PLAN_NAME
- See Also:
-
SHORT_PLAN_BRANCH_NAME
- See Also:
-
BUILD_NUMBER
- See Also:
-
PLAN_RESULT_KEY
- See Also:
-
BUILD_RESULT_KEY
- See Also:
-
SHORT_JOB_KEY
- See Also:
-
SHORT_JOB_NAME
- See Also:
-
BUILD_RESULTS_URL
- See Also:
-
RESULTS_URL
- See Also:
-
BUILD_KEY
- See Also:
-
BUILD_PLAN_NAME
- See Also:
-
BUILD_STATE
- See Also:
-
AGENT_ID
- See Also:
-
AGENT_WORKING_DIRECTORY
- See Also:
-
REPOSITORY_VAR_PREFIX
- See Also:
-
REPOSITORY_NAME
- See Also:
-
REPOSITORY_REVISION
- See Also:
-
REPOSITORY_PREVIOUS_REVISION
- See Also:
-
REPOSITORY_TYPE
- See Also:
-
REPOSITORY_BRANCH_NAME
- See Also:
-
REPOSITORY_BRANCH_DISPLAY_NAME
- See Also:
-
INTEGRATION_BRANCH
- See Also:
-
MERGED_REVISION
- See Also:
-
PR_KEY
- See Also:
-
PR_SOURCE_BRANCH
- See Also:
-
PR_TARGET_BRANCH
- See Also:
-
PR_SOURCE_FORK_OWNER
- See Also:
-
PR_SOURCE_FORK_REPOSITORY
- See Also:
-
DEPLOY_PREFIX
- See Also:
-
DEPLOYMENT_PROJECT
- See Also:
-
ENVIRONMENT
- See Also:
-
DEPLOYMENT_RELEASE
- See Also:
-
DEPLOYMENT_PREVIOUS_RELEASE
- See Also:
-
WEBHOOK_TEMPLATE_ID
- See Also:
-
WEBHOOK_TEMPLATE_NAME
- See Also:
-
WEBHOOK_TIMESTAMP
- See Also:
-
WEBHOOK_NOTIFICATION_DESCRIPTION
- See Also:
-
WEBHOOK_UUID
- See Also:
-
ENVIRONMENT_ID
- See Also:
-
ENVIRONMENT_NAME
- See Also:
-
DEPLOYMENT_PROJECT_ID
- See Also:
-
DEPLOYMENT_VERSION_ID
- See Also:
-
DEPLOYMENT_RESULT_ID
- See Also:
-
STARTED_DATE
- See Also:
-
QUEUED_DATE
- See Also:
-
FINISHED_DATE
- See Also:
-
TRIGGER_REASON
- See Also:
-
TRIGGER_SENTENCE
- See Also:
-
DEPLOYMENT_VERSION
Deprecated.since 5.1- See Also:
-
DEPLOYMENT_VERSION_NAME
Deprecated.since 5.1- See Also:
-
DEPLOYMENT_PREVIOUS_VERSION
Deprecated.since 5.1- See Also:
-
IS_ROLLBACK
- See Also:
-
SIMPLE_BUILD_TIMESTAMP
- See Also:
-
-
Method Details
-
addVariableContext
public static void addVariableContext(@NotNull @NotNull Map<String, VariableDefinitionContext> variables, @NotNull @NotNull String key, @Nullable @Nullable String value, @NotNull @NotNull VariableType variableType) Helper function addingVariableDefinitionContext
to a map that can later be used during variable substitution.- Parameters:
variables
-key
-value
-variableType
-
-
createRepositoryVariables
public static void createRepositoryVariables(@NotNull @NotNull Map<String, VariableDefinitionContext> variables, @NotNull @NotNull ResultsSummary resultsSummary, @NotNull @NotNull VariableType variableType, @NotNull @NotNull RepositoryDefinitionManager repositoryDefinitionManager, @NotNull @NotNull VcsRepositoryManager vcsRepositoryManager) -
createRepositoryVariables
public static void createRepositoryVariables(@NotNull @NotNull Map<String, VariableDefinitionContext> variables, @NotNull @NotNull List<PlanRepositoryDefinition> repositoryDefinitions, @NotNull @NotNull BuildChanges buildChanges, @NotNull @NotNull VariableType variableType, @NotNull @NotNull VcsRepositoryManager vcsRepositoryManager)
-