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
Fields inherited from class org.jenkinsci.test.acceptance.po.Job
concurrentBuild, controller, publishers
Fields inherited from class org.jenkinsci.test.acceptance.po.TopLevelItem
name
Fields inherited from class org.jenkinsci.test.acceptance.po.PageObject
jsonParser, url
Fields inherited from class org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
driver, injector, LABEL_TO_INPUT_XPATH, time
Fields inherited from interface org.jenkinsci.test.acceptance.po.CapybaraPortingLayer
by
-
Constructor Summary
-
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.void
void
Use 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, useScm
Methods inherited from class org.jenkinsci.test.acceptance.po.TopLevelItem
as, description, equals, getDescription, getDisplayName, hashCode, renameTo, setDescription, setDescription, toString
Methods inherited from class org.jenkinsci.test.acceptance.po.ContainerPageObject
action, action, getConfigUrl, getJson, getJson, getJsonApiUrl, getNavigationLinks
Methods inherited from class org.jenkinsci.test.acceptance.po.ConfigurablePageObject
apply, configure, configure, configure, configure, ensureConfigPage, getFormName, getSubmitButtonText, save
Methods inherited from class org.jenkinsci.test.acceptance.po.PageObject
control, control, createPageArea, createRandomName, getContext, getJenkins, open, url, url, visit
Methods 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, 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:
addBuildStep
in classJob
-
addBatchStep
- Overrides:
addBatchStep
in classJob
-
addShellStep
- Overrides:
addShellStep
in classJob
-
module
-
build
-
getLastBuild
- Overrides:
getLastBuild
in 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.
-