Package org.jenkinsci.test.acceptance.po
Class WorkflowJob
- 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 TypeMethodDescriptioncopyResourceStep(String filePath) voiddelete()Deletes the current job.voidsetJenkinsFileRepository(String gitRepositoryUrl, String credentialsKey) Selects the location of the Jenkinsfile to be a Git repository with the specified URL.Methods inherited from class org.jenkinsci.test.acceptance.po.Job
addBatchStep, addBuildStep, addBuildWrapper, addParameter, addPreBuildStep, addPublisher, addPublisher, addShellStep, addShellStep, addTrigger, build, copyDir, copyFile, copyResource, copyResource, copyResource, copyResourceBatch, copyResourceShell, disable, disabled, editPublisher, getBuildUrl, getLastBuild, 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
-
script
-
sandbox
-
-
Constructor Details
-
WorkflowJob
-
-
Method Details
-
copyResourceStep
-
delete
public void delete()Description copied from class:JobDeletes the current job. -
setJenkinsFileRepository
Selects the location of the Jenkinsfile to be a Git repository with the specified URL. The provided credentials key is used to connect to the Git repository.- Parameters:
gitRepositoryUrl- the URL to the Git repository that contains the JenkinsfilecredentialsKey- the key of the credentials to be used to connect to the repository
-