Represents the "new Item" page of classic jenkins but for multiBranch
Example
const branchCreate = browser.page.multibranchCreate().forJob(anotherFolders.join('/'));
Methods
-
<inner> createBranch(folderName, path)
-
Parameters:
Name Type Description folderName
String where should be we create the multiBranch project in
path
String where does the git repo exist? Will be injected in the input field
Example
// Let us create a multibranch object in the nested folders branchCreate.createBranch(multiBranchJob, pathToRepo);
-
<inner> forJob(jobName)
-
Returns the config page of a certain job
Parameters:
Name Type Description jobName
String name of the job to configure
Returns:
self - nightwatch page object
- Type
- Object
Example
const branchCreate = browser.page.multibranchCreate().forJob(anotherFolders.join('/'));