Class MavenModuleSet
java.lang.Object
org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
org.jenkinsci.test.acceptance.po.PageObject
org.jenkinsci.test.acceptance.po.ConfigurablePageObject
org.jenkinsci.test.acceptance.po.ContainerPageObject
org.jenkinsci.test.acceptance.po.TopLevelItem
org.jenkinsci.test.acceptance.po.Job
org.jenkinsci.test.acceptance.plugins.maven.MavenModuleSet
- All Implemented Interfaces:
CapybaraPortingLayer
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
CapybaraPortingLayerImpl.Finder<R>, CapybaraPortingLayerImpl.Resolver -
Field Summary
FieldsFields inherited from class org.jenkinsci.test.acceptance.po.Job
concurrentBuild, controller, publishersFields inherited from class org.jenkinsci.test.acceptance.po.TopLevelItem
nameFields inherited from class org.jenkinsci.test.acceptance.po.PageObject
jsonParser, urlFields inherited from class org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
driver, injector, LABEL_TO_INPUT_XPATH, timeFields inherited from interface org.jenkinsci.test.acceptance.po.CapybaraPortingLayer
by -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddBatchStep(String batch) <T extends PostBuildStep>
TaddBuildSettings(Class<T> type) Enables the specified settings for this job.<T extends PostBuildStep>
TaddBuildSettings(Class<T> type, Consumer<T> configuration) Enables the specified settings for this job.<T extends BuildStep>
TaddBuildStep(Class<T> type) addShellStep(String shell) build(int buildNumber) <T extends PostBuildStep>
TgetBuildSettings(Class<T> type) Wrapper function to get a previously added build settings object.voidvoidUse the default maven version for a job.Methods inherited from class org.jenkinsci.test.acceptance.po.Job
addBuildWrapper, addParameter, addPreBuildStep, addPublisher, addPublisher, addShellStep, addTrigger, copyDir, copyFile, copyResource, copyResource, copyResource, copyResourceBatch, copyResourceShell, delete, disable, disabled, editPublisher, getBuildUrl, getNextBuildNumber, getParameters, getPublisher, getWorkspace, pollScm, removeFirstBuildStep, scheduleBuild, scheduleBuild, setLabelExpression, shouldBeTiedToLabel, shouldHaveBuiltOnOneOfNNodes, startBuild, startBuild, useCustomWorkspace, useScmMethods inherited from class org.jenkinsci.test.acceptance.po.TopLevelItem
as, description, equals, getDescription, getDisplayName, hashCode, renameTo, setDescription, setDescription, toStringMethods inherited from class org.jenkinsci.test.acceptance.po.ContainerPageObject
action, action, getConfigUrl, getJson, getJson, getJsonApiUrl, getNavigationLinksMethods inherited from class org.jenkinsci.test.acceptance.po.ConfigurablePageObject
apply, configure, configure, configure, configure, ensureConfigPage, getFormName, saveMethods inherited from class org.jenkinsci.test.acceptance.po.PageObject
control, control, createPageArea, createRandomName, ensureOpen, getContext, getJenkins, open, url, url, visitMethods inherited from class org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
all, blur, check, check, check, choose, clickButton, clickLink, confirmAlert, elasticSleep, executeScript, fillIn, find, findCaption, findCaption, findIfNotVisible, getCurrentUrl, getCurrentUrlWithFragment, getElement, getPageContent, getPageSource, getPageSource, getPath, handleAlert, isHiddenOrStale, isStale, last, lastIfNotVisible, newInstance, resource, runThenConfirmAlert, runThenConfirmAlert, runThenHandleAlert, runThenHandleAlert, runThenHandleDialog, runThenHandleInputDialog, runThenHandleUserPrompt, sleep, visit, waitFor, waitFor, waitFor, waitFor, waitFor, waitForCond, waitForCond
-
Field Details
-
version
-
goals
-
-
Constructor Details
-
MavenModuleSet
-
-
Method Details
-
options
-
setGoals
-
addBuildSettings
Enables the specified settings for this job. Settings (i.e. publishers) are stored in a list member to provide later access for modification. After the settings have been added they are configured with the specified configuration lambda. Afterwards, the job configuration page still is visible and not saved.- Type Parameters:
T- the type of the settings- Parameters:
type- the settings to configureconfiguration- the additional configuration options for this job- See Also:
-
addBuildSettings
Enables the specified settings for this job. Settings (i.e. publishers) are stored in a list member to provide later access for modification. Afterwards, the job configuration page still is visible and not saved.- Type Parameters:
T- the type of the settings- Parameters:
type- the settings to configure- See Also:
-
getBuildSettings
Wrapper function to get a previously added build settings object.- Parameters:
type- the type of the build settings to be retrieved- Returns:
- the build settings object
-
addBuildStep
- Overrides:
addBuildStepin classJob
-
addBatchStep
- Overrides:
addBatchStepin classJob
-
addShellStep
- Overrides:
addShellStepin classJob
-
module
-
build
-
getLastBuild
- Overrides:
getLastBuildin classJob
-
useDefaultMavenVersion
public void useDefaultMavenVersion()Use the default maven version for a job. Note that this maven version needs to be installed before this method is called. Additionally, at least 2 versions need to be installed. Otherwise the drop down menu is not shown and the default version is used.
-