-
Story
-
Resolution: Duplicate
-
Major
In Scope
Create a new multibranch job given sufficient parameters:
- Take an "organisation" name
- Take a type of branchSource (could be git, github, bitbucket)
- Take a pattern (ant glob or regex) for building branches that match the pattern (includes)
- If plain Git:
- take repo url
- take optional credential name field
- If github/bitbucket
- take server URL (e.g. https://github.com or https://github.internal.corp/)
- take owner and repository name
- take optional api endpoint (in the case of bitbucket, optional ssh port)
- take optional credentials name field
Future extensibility
- As there are other branch source and repo types, the api should be able to cope with config specific to different branch sources, avoid assuming the world is git
Out of scope:
- Add multiple branch sources
- Defining what the credentials are (its just a name that is referred to, assuming credentials are already set up).
- duplicates
-
JENKINS-36597 API to create a Pipeline using a Git repository
- Resolved
- relates to
-
JENKINS-35872 API for editing pipeline settings
- Resolved