SCM Config Option¶
SCM Config Option is used to represent codebase-related config option.
|owner||the owner of repo||This option can't be configured at the same time with
|org||the organization of repo||This option can't be configured at the same time with
|scmType||the repo type||Support
|name||the repo name|
|baseURL||the gitlab url address||If you use
|url||the repo url address||If you configure this option, then
|token||the repo api token|
|branch||the repo branch||If this option is empty, For
You need to get the token of the repo first.
GithubRepo, you can refer to this doc about how to get
- For gitlab.com (instead of a self-hosted GitLab), click here to create a token for DevStream (the scope contains API only).
- For self-hosted GitLab, refer to the official doc here for more info.
Github SCM Config With URL¶
Github SCM Config Without URL¶
Gitlab SCM Config With URL¶