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
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 TypeMethodDescriptioncopyResourceStep
(String filePath) void
delete()
Deletes the current job.void
setJenkinsFileRepository
(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, 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, 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, runThenHandleInputDialog, 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:Job
Deletes 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
-