Code Pipeline
Parameter | Type | Required | Sample Value | Description |
Action | String | Yes | CreateResource | The API name. The name of the current API is CreateResource. |
Version | String | Yes | 2023-05-01 | The API version. The current version of the API is 2023-05-01. |
WorkspaceId | String | Yes | 18be9*****a1aca409f5e19c**** | The workspace ID. |
Name | String | Yes | test | The code source name.
|
Description | String | no | Test description | The code source description supports any characters and must be between 0 and 256 characters in length. |
Type | String | Yes | Gitee | Supported code repository types.
|
Configuration | Yes | - | Code source configuration information |
Parameter | Type | Required | Sample Value | Description |
Git | no | - | Configuration information for the code source |
Parameter | Type | Required | Sample Value | Description |
Url | String | Yes | https://gitee.com/**** | Code repository URL. |
UserToken | String | no | 0f6832949f31ef77**** | User token |
UserName | String | no | user | Username. |
Password | String | no | pwd**** | Password. |
CloneDepth | Long | no | 0 | Code clone depth. The default and minimum values are both 0. |
AccessKey | String | no | qAfR************ | Third-party cloud AccessKey. |
SecretKey | String | no | Qtlc************ | The SecretKey of the third-party cloud. |
Parameter | Type | Sample Value | Description |
Id | String | 1bfc821c23594ebbb7df1ae6b636**** | Code source ID |