public final class IvyModule extends AbstractIvyProject<IvyModule,IvyBuild> implements hudson.model.Saveable
Job that builds projects based on Ivy.| Modifier and Type | Class and Description |
|---|---|
static class |
IvyModule.BecauseOfUpstreamModuleBuildInProgress
Because the upstream module build is in progress, and we are configured to wait for that.
|
hudson.model.AbstractProject.AbstractProjectDescriptor, hudson.model.AbstractProject.BecauseOfBuildInProgress, hudson.model.AbstractProject.BecauseOfDownstreamBuildInProgress, hudson.model.AbstractProject.BecauseOfUpstreamBuildInProgress, hudson.model.AbstractProject.LabelValidatorhudson.model.Job.LastItemListener, hudson.model.Job.SubItemBuildsLocationImplABORT, blockBuildWhenDownstreamBuilding, blockBuildWhenUpstreamBuilding, BUILD_NOW_TEXT, builds, disabled, transientActions, triggersHISTORY_ADAPTER, nextBuildNumber, properties, runIdMigrator| Modifier and Type | Method and Description |
|---|---|
protected void |
addTransientActionsFromBuild(IvyBuild build,
java.util.List<hudson.model.Action> collection,
java.util.Set<java.lang.Class> added) |
ModuleDependency |
asDependency()
Gets organisation+name+revision as
ModuleDependency. |
protected void |
buildDependencyGraph(hudson.model.DependencyGraph graph) |
protected java.util.List<hudson.tasks.Publisher> |
createModulePublishers()
Creates a list of
Publishers to be used for a build of this project. |
protected void |
doSetName(java.lang.String name) |
protected java.util.Collection<IvyModule> |
getAllIvyModules()
Returns all Ivy modules in this Jenkins instance.
|
hudson.model.Label |
getAssignedLabel()
IvyModule uses the workspace of the IvyModuleSet, so it
always needs to be built on the same slave as the parent. |
protected java.lang.Class<IvyBuild> |
getBuildClass() |
hudson.util.DescribableList<hudson.tasks.BuildWrapper,hudson.model.Descriptor<hudson.tasks.BuildWrapper>> |
getBuildWrappersList() |
hudson.model.queue.CauseOfBlockage |
getCauseOfBlockage() |
java.lang.String |
getDisplayName() |
java.lang.String |
getIvyBranch()
Gets the Ivy branch in the ivy.xml file as of the last build.
|
hudson.model.JDK |
getJDK() |
hudson.tasks.LogRotator |
getLogRotator()
IvyModule follows the same log rotation schedule as its parent. |
ModuleName |
getModuleName() |
IvyModuleSet |
getParent() |
java.lang.String |
getPronoun() |
hudson.util.DescribableList<hudson.tasks.Publisher,hudson.model.Descriptor<hudson.tasks.Publisher>> |
getPublishers()
List of active
Publishers configured for this module. |
hudson.util.DescribableList<hudson.tasks.Publisher,hudson.model.Descriptor<hudson.tasks.Publisher>> |
getPublishersList() |
java.lang.String |
getRelativePath()
Relative path to this module's root directory from the workspace of a
IvyModuleSet. |
java.lang.String |
getRelativePathToDescriptorFromModuleRoot() |
java.lang.String |
getRelativePathToModuleRoot() |
java.lang.String |
getRevision()
Gets the revision number in the ivy.xml file as of the last build.
|
java.lang.String |
getShortUrl() |
java.lang.String |
getTargets()
Gets the list of targets to execute for this module.
|
java.lang.String |
getUserConfiguredRelativePathToDescriptorFromModuleRoot() |
hudson.model.Resource |
getWorkspaceResource()
Deprecated.
as of 1.319 in
AbstractProject. |
boolean |
isBuildable() |
boolean |
isFingerprintConfigured() |
boolean |
isNameEditable() |
boolean |
isUseUpstreamParameters() |
protected IvyBuild |
newBuild() |
void |
onLoad(hudson.model.ItemGroup<? extends hudson.model.Item> parent,
java.lang.String name) |
protected void |
performDelete() |
void |
setLogRotator(hudson.tasks.LogRotator logRotator)
Deprecated.
Not allowed to configure log rotation per module.
|
protected void |
submit(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp) |
boolean |
supportsLogRotator() |
protected void |
updateTransientActions() |
createTransientActions, scheduleBuild_getRuns, addProperty, addToList, addTrigger, blockBuildWhenDownstreamBuilding, blockBuildWhenUpstreamBuilding, buildDescribable, buildDescribable, checkAbortPermission, checkout, createExecutable, createHistoryWidget, disable, doBuild, doBuildWithParameters, doCheckRetryCount, doConfigSubmit, doDoWipeOutWorkspace, doPolling, doWs, enable, findNearest, findNearest, getActions, getAssignedLabelString, getAuthToken, getBuild, getBuildByNumber, getBuildingDownstream, getBuildingUpstream, getBuildNowText, getBuildTriggerUpstreamProjects, getCustomWorkspace, getDelay, getDownstreamProjects, getDownstreamProjectsForApi, getEnvironment, getFirstBuild, getHasCustomQuietPeriod, getIconColor, getLastBuild, getLastBuiltOn, getLazyBuildMixIn, getModuleRoot, getModuleRoots, getNearestBuild, getNearestOldBuild, getProminentActions, getQueueItem, getQuietPeriod, getRelationship, getRelevantLabels, getResourceActivities, getResourceList, getRootProject, getSameNodeConstraint, getScm, getScmCheckoutRetryCount, getScmCheckoutStrategy, getSomeBuildWithWorkspace, getSomeWorkspace, getSubTasks, getTransitiveDownstreamProjects, getTransitiveUpstreamProjects, getTrigger, getTriggers, getUpstreamProjects, getUpstreamProjectsForApi, getWorkspace, hasAbortPermission, hasCustomScmCheckoutRetryCount, hasParticipant, isConcurrentBuild, isConfigurable, isDisabled, isInQueue, loadBuild, makeSearchIndex, onCreatedFromScratch, poll, pollSCMChanges, removeFromList, removeRun, removeTrigger, resolveForCLI, save, scheduleBuild, scheduleBuild2, scheduleBuild2, scheduleBuild2, scheduleBuild2, scheduleBuild2, schedulePolling, setAssignedLabel, setAssignedNode, setBlockBuildWhenDownstreamBuilding, setBlockBuildWhenUpstreamBuilding, setConcurrentBuild, setCustomWorkspace, setDisabled, setJDK, setQuietPeriod, setScm, setScmCheckoutStrategy, supportsMakeDisabled, triggersassignBuildNumber, checkRename, delete, doBuildStatus, doChildrenContextMenu, doDescription, doDoRename, doRssAll, doRssChangelog, doRssFailed, getACL, getAllJobs, getAllProperties, getBuildDir, getBuildDiscarder, getBuildForCLI, getBuildHealth, getBuildHealthReports, getBuilds, getBuilds, getBuildsAsMap, getBuildsByTimestamp, getBuildStatusIconClassName, getBuildStatusUrl, getBuildTimeGraph, getCharacteristicEnvVars, getDynamic, getEstimatedDuration, getEstimatedDurationCandidates, getLastBuildsOverThreshold, getLastCompletedBuild, getLastFailedBuild, getLastStableBuild, getLastSuccessfulBuild, getLastUnstableBuild, getLastUnsuccessfulBuild, getNewBuilds, getNextBuildNumber, getOverrides, getPermalinks, getProperties, getProperty, getProperty, getTimeline, getWidgets, isBuilding, isHoldOffBuildUntilSave, isKeepDependencies, isLogUpdated, logRotate, movedTo, onCopiedFrom, removeProperty, removeProperty, renameTo, saveNextBuildNumber, setBuildDiscarder, updateNextBuildNumberdelete, doCheckNewName, doConfigDotXml, doConfirmRename, doDoDelete, doReload, doSubmitDescription, getAbsoluteUrl, getApi, getConfigFile, getDescription, getDisplayNameOrNull, getFullDisplayName, getFullName, getName, getRelativeDisplayNameFrom, getRelativeNameFromGroup, getRootDir, getSearchName, getSearchUrl, getTarget, getTaskNoun, getUrl, setDescription, setDisplayName, setDisplayNameOrNull, toString, updateByXml, updateByXml, writeConfigDotXmladdAction, addOrReplaceAction, doContextMenu, getAction, getAction, getActions, getAllActions, removeAction, removeActions, replaceAction, replaceActionsgetSearch, getSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendErrorclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdoBuild, doBuildWithParameters, doCancelQueue, doDisable, doEnable, getParameterizedJobMixIn, isParameterized, makeDisabled, scheduleBuilddelete, getAbsoluteUrl, getAllJobs, getFullDisplayName, getFullName, getName, getRelativeNameFrom, getRelativeNameFrom, getUrl, onCopiedFromgetSearchIndex, getSearchName, getSearchUrlcheckPermission, getACL, hasPermission, hasPermissionpublic hudson.util.DescribableList<hudson.tasks.BuildWrapper,hudson.model.Descriptor<hudson.tasks.BuildWrapper>> getBuildWrappersList()
public hudson.tasks.LogRotator getLogRotator()
IvyModule follows the same log rotation schedule as its parent.@Deprecated public void setLogRotator(hudson.tasks.LogRotator logRotator)
public boolean supportsLogRotator()
public boolean isBuildable()
protected void doSetName(java.lang.String name)
doSetName in class hudson.model.AbstractItempublic void onLoad(hudson.model.ItemGroup<? extends hudson.model.Item> parent,
java.lang.String name)
throws java.io.IOException
public java.lang.String getRelativePath()
IvyModuleSet.
The path separator is normalized to '/'.public java.lang.String getRevision()
public java.lang.String getIvyBranch()
public java.lang.String getTargets()
public java.lang.String getRelativePathToDescriptorFromModuleRoot()
public java.lang.String getUserConfiguredRelativePathToDescriptorFromModuleRoot()
public java.lang.String getRelativePathToModuleRoot()
public hudson.util.DescribableList<hudson.tasks.Publisher,hudson.model.Descriptor<hudson.tasks.Publisher>> getPublishersList()
public hudson.model.JDK getJDK()
protected java.lang.Class<IvyBuild> getBuildClass()
protected IvyBuild newBuild() throws java.io.IOException
public ModuleName getModuleName()
public ModuleDependency asDependency()
ModuleDependency.public java.lang.String getShortUrl()
getShortUrl in interface hudson.model.ItemgetShortUrl in class hudson.model.AbstractItem@Exported(visibility=2) public java.lang.String getDisplayName()
getDisplayName in interface hudson.model.ItemgetDisplayName in interface hudson.model.ModelObjectgetDisplayName in interface hudson.model.ResourceActivitygetDisplayName in class hudson.model.AbstractItempublic java.lang.String getPronoun()
public boolean isNameEditable()
public IvyModuleSet getParent()
getParent in interface hudson.model.ItemgetParent in class hudson.model.AbstractItempublic hudson.model.Label getAssignedLabel()
IvyModule uses the workspace of the IvyModuleSet, so it
always needs to be built on the same slave as the parent.@Deprecated public hudson.model.Resource getWorkspaceResource()
AbstractProject.IvyModule is a part of the parent's workspace.
That is, IvyModuleSet builds are incompatible with any
IvyModule builds, whereas IvyModule builds are compatible
with each other.
public boolean isFingerprintConfigured()
protected void updateTransientActions()
protected void buildDependencyGraph(hudson.model.DependencyGraph graph)
protected java.util.Collection<IvyModule> getAllIvyModules()
public hudson.model.queue.CauseOfBlockage getCauseOfBlockage()
protected void addTransientActionsFromBuild(IvyBuild build, java.util.List<hudson.model.Action> collection, java.util.Set<java.lang.Class> added)
addTransientActionsFromBuild in class AbstractIvyProject<IvyModule,IvyBuild>collection - Add the transient actions to this collection.public hudson.util.DescribableList<hudson.tasks.Publisher,hudson.model.Descriptor<hudson.tasks.Publisher>> getPublishers()
Publishers configured for this module.protected void submit(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws java.io.IOException,
javax.servlet.ServletException,
hudson.model.Descriptor.FormException
protected void performDelete()
throws java.io.IOException,
java.lang.InterruptedException
protected final java.util.List<hudson.tasks.Publisher> createModulePublishers()
Publishers to be used for a build of this project.public boolean isUseUpstreamParameters()
isUseUpstreamParameters in class AbstractIvyProject<IvyModule,IvyBuild>