public abstract class AbstractMavenBuild<P extends AbstractMavenProject<P,B>,B extends AbstractMavenBuild<P,B>>
extends hudson.model.AbstractBuild<P,B>
hudson.model.AbstractBuild.AbstractBuildExecution, hudson.model.AbstractBuild.AbstractRunner, hudson.model.AbstractBuild.DependencyChangehudson.model.Run.Artifact, hudson.model.Run.ArtifactList, hudson.model.Run.KeepLogBuildBadge, hudson.model.Run.RedirectUp, hudson.model.Run.RunExecution, hudson.model.Run.Runner, hudson.model.Run.RunnerAbortedException, hudson.model.Run.StatusSummarizer, hudson.model.Run.Summary| Modifier | Constructor and Description |
|---|---|
protected |
AbstractMavenBuild(P job) |
|
AbstractMavenBuild(P job,
Calendar timestamp) |
|
AbstractMavenBuild(P project,
File buildDir) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
expandTokens(hudson.model.TaskListener listener,
String str)
Expand tokens with token macro.
|
hudson.EnvVars |
getEnvironment(hudson.model.TaskListener log) |
abstract String |
getMavenOpts(hudson.model.TaskListener listener,
hudson.EnvVars envVars)
Obtains the fully resolved MAVEN_OPTS with all the tokens and variables expanded.
|
addAction, createReference, doStop, doStop, dropLinks, due, getAggregatedTestResultAction, getBuildFingerprints, getBuildVariableResolver, getBuildVariables, getBuiltOn, getBuiltOnStr, getChangeSet, getChangeSets, getCulprits, getDependencyChanges, getDownstreamBuilds, getDownstreamBuilds, getDownstreamRelationship, getEnvironments, getHudsonVersion, getModuleRoot, getModuleRoots, getNextBuild, getPersistentActions, getPreviousBuild, getProject, getRootBuild, getRunMixIn, getSensitiveBuildVariables, getTestResultAction, getTransitiveUpstreamBuilds, getUpstreamBuilds, getUpstreamRelationship, getUpstreamRelationshipBuild, getUpUrl, getWhyKeepLog, getWorkspace, hasChangeSetComputed, hasParticipant, run, setBuiltOnStr, setWorkspace_this, canToggleLogKeep, checkPermission, compareTo, delete, deleteArtifacts, doArtifact, doBuildNumber, doBuildStatus, doBuildTimestamp, doConfigSubmit, doConsoleText, doDoDelete, doProgressiveLog, doSubmitDescription, doToggleLogKeep, execute, fromExternalizableId, getAbsoluteUrl, getACL, getApi, getArtifactManager, getArtifacts, getArtifactsDir, getArtifactsUpTo, getBadgeActions, getBuildStatusIconClassName, getBuildStatusSummary, getBuildStatusUrl, getCause, getCauses, getCharacteristicEnvVars, getCharset, getDescription, getDescriptorByName, getDisplayName, getDuration, getDurationString, getDynamic, getEnvironment, getEnvVars, getEstimatedDuration, getExecutor, getExternalizableId, getFullDisplayName, getHasArtifacts, getIconColor, getId, getLog, getLog, getLogFile, getLogInputStream, getLogReader, getLogText, getNumber, getOneOffExecutor, getPreviousBuildInProgress, getPreviousBuildsOverThreshold, getPreviousBuiltBuild, getPreviousCompletedBuild, getPreviousFailedBuild, getPreviousNotFailedBuild, getPreviousSuccessfulBuild, getQueueId, getResult, getRootDir, getSearchUrl, getStartTimeInMillis, getTime, getTimeInMillis, getTimestamp, getTimestampString, getTimestampString2, getTransientActions, getTruncatedDescription, getUrl, hasCustomDisplayName, hasntStartedYet, hasPermission, isBuilding, isInProgress, isKeepLog, isLogUpdated, keepLog, keepLog, makeSearchIndex, onEndBuilding, onLoad, onStartBuilding, pickArtifactManager, reload, run, save, setDescription, setDisplayName, setQueueId, setResult, submit, toString, updateSymlinks, writeLogTo, writeWholeLogTodoContextMenu, getAction, getAction, getActions, getActions, getAllActions, replaceActiongetSearch, getSearchIndex, getSearchName, requirePOST, sendError, sendError, sendError, sendError, sendErrorprotected AbstractMavenBuild(P job) throws IOException
IOExceptionpublic AbstractMavenBuild(P project, File buildDir) throws IOException
IOExceptionpublic hudson.EnvVars getEnvironment(hudson.model.TaskListener log)
throws IOException,
InterruptedException
getEnvironment in class hudson.model.AbstractBuild<P extends AbstractMavenProject<P,B>,B extends AbstractMavenBuild<P,B>>IOExceptionInterruptedExceptionpublic abstract String getMavenOpts(hudson.model.TaskListener listener, hudson.EnvVars envVars)
envVars - Caller must pass in the environment variables obtained from getEnvironment(TaskListener)
This method takes this as a parameter as opposed to recomputing it since the caller always have this handy.MavenModuleSet.getMavenOpts()Copyright © 2016–2017. All rights reserved.