com.atlassian.bamboo.builder
Class Maven2Builder
java.lang.Object
com.atlassian.bamboo.command.Command
com.atlassian.bamboo.builder.AbstractBuilder
com.atlassian.bamboo.builder.AbstractMavenBuilder
com.atlassian.bamboo.builder.Maven2Builder
- All Implemented Interfaces:
- Builder, EnvironmentVariablesAwareBuilder, MutableEnvironmentVariablesAwareBuilder, InitablePluginModule, BambooPluginModule, BuildConfigurationAwarePlugin, BuilderV2, ConfigurablePlugin, java.io.Serializable
public class Maven2Builder
- extends AbstractMavenBuilder
This class provides a Maven 2.x version of Builder
.
- See Also:
- Serialized Form
Fields inherited from class com.atlassian.bamboo.builder.AbstractBuilder |
BUILD_FAILED_MARKER, BUILD_SUCCESSFUL_MARKER, buildDirectoryManager, DEFAULT_TEST_REPORTS_XML, errorUpdateHandler, FIND_FAILURE_MESSAGE_IN_LAST, FIND_SUCCESS_MESSAGE_IN_LAST, PARAM_BUILD_LABEL, PARAM_BUILDJDK, PARAM_ENV_VAR, PARAM_HASTESTS, PARAM_HOME, PARAM_PROJECT_FILE, PARAM_TEST_RESULTS_DIRECTORY, PARAM_WORKING_SUB_DIR, SEARCH_BUILD_SUCCESS_FAIL_MESSAGE_EVERYWHERE, templateRenderer |
Methods inherited from class com.atlassian.bamboo.builder.AbstractMavenBuilder |
addDefaultValues, getCommandArguments, getCommandExecutable, getFullParams, getGoal, getMavenExecutablePath, getTestDirectory, getTestResultsDirectory, hasPassed, isPathValid, setGoal, setParams, setTestDirectory, validate, validate |
Methods inherited from class com.atlassian.bamboo.builder.AbstractBuilder |
collateTestResults, customiseLabelTypeMap, customizeBuildRequirements, executeBuild, getBuildDir, getBuildDirectoryManager, getBuildJdk, getCompleteKey, getEditHtml, getEnvironmentVariables, getFilteredParams, getKey, getKeyPrefix, getLabel, getPath, getProjectFile, getTestChecked, getViewHtml, getWorkingDirectory, getWorkingSubDirectory, hasTests, init, isJdkValid, isLabelPathMapConfigurable, outputEndsWith, prepareConfigObject, removeAllSystemJdkRequirements, removeBuildRequirements, runBuild, setAdministrationConfiguration, setBuildDir, setBuildDirectoryManager, setBuildJdk, setBuildLogFileAccessorFactory, setEnvironmentVariables, setErrorUpdateHandler, setHasTests, setJdkManager, setKey, setLabel, setProjectFile, setTemplateRenderer, setTestChecked, setTestResultsDirectory, setWorkingSubDirectory, toString, validate |
Methods inherited from class com.atlassian.bamboo.command.Command |
decorateCommandLine, executeCommand, getBuildLoggerManager, getCommandLine, getEnvironmentSetting, getSubstitutedCommandLine, getVariableSubstitutionBean, isWindowsPlatform, setBuildLoggerManager, setPluginAccessor, setVariableSubstitutionBean |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
COMPLETE_KEY
public static final java.lang.String COMPLETE_KEY
- See Also:
- Constant Field Values
BUILDER_PATH_LABEL
public static final java.lang.String BUILDER_PATH_LABEL
- See Also:
- Constant Field Values
BUILDER_TYPE_LABEL
public static final java.lang.String BUILDER_TYPE_LABEL
- See Also:
- Constant Field Values
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
PATHHELP
public static final java.lang.String PATHHELP
- See Also:
- Constant Field Values
Maven2Builder
public Maven2Builder()
getName
@NotNull
public java.lang.String getName()
- Description copied from interface:
Builder
- Returns a human readable version of the current Builder type
- Returns:
getUrl
public java.lang.String getUrl()
getExecutableFileName
protected java.lang.String getExecutableFileName()
- Description copied from class:
AbstractMavenBuilder
- Gets the executable file name
- Specified by:
getExecutableFileName
in class AbstractMavenBuilder
- Returns:
- The executable file name
getCustomEnvironmentVars
protected java.lang.String[] getCustomEnvironmentVars(ReadOnlyCapabilitySet capabilitySet)
- Overrides:
getCustomEnvironmentVars
in class Command
getTemplateContext
protected java.util.Map<java.lang.String,java.lang.Object> getTemplateContext()
- Overrides:
getTemplateContext
in class AbstractMavenBuilder
getDefaultTestReportsDirectory
protected java.lang.String getDefaultTestReportsDirectory()
- Specified by:
getDefaultTestReportsDirectory
in class AbstractMavenBuilder
addDefaultLabelPathMaps
public java.util.Map<java.lang.String,LabelPathMap> addDefaultLabelPathMaps(java.util.Map<java.lang.String,LabelPathMap> labelPathMaps)
- Returns:
populateBuildErrors
public void populateBuildErrors(CurrentBuildResult buildResult,
java.util.List<java.lang.String> errorOutput,
java.lang.String planKey,
int buildNumber)
- Description copied from class:
AbstractBuilder
- An extension point for implementors to modify the Error Summary
- Specified by:
populateBuildErrors
in interface BuilderV2
- Overrides:
populateBuildErrors
in class AbstractBuilder
- Parameters:
buildResult
- - CurrentBuildResult
representing the results of the current builderrorOutput
- - ErrorLogEntry
objects representing the current std error output
getPathHelp
@NotNull
public java.lang.String getPathHelp()
- Description copied from interface:
Builder
- Help text for the builder type
- Specified by:
getPathHelp
in interface Builder
- Overrides:
getPathHelp
in class AbstractBuilder
- Returns:
setMaven2LogHelper
public void setMaven2LogHelper(Maven2LogHelper maven2LogHelper)
Copyright © 2010 Atlassian. All Rights Reserved.