General-purpose plugins
A collection of plugins that are not specific to any application type.
Code clone
Clones the code required to build an application from a specified branch of a code repository.
Option | Description |
Repository URL | The URL of the code repository. The repository is configured in advance. For more information, see Add code access permissions. |
Branch | Specifies the code branch. Important The value is case-sensitive. |
Access permissions | The access permissions for the code repository. The access permissions are configured in advance. For more information, see Add code access permissions. |
Bash
Runs a custom shell script.
Option | Description |
Script content | The custom shell script to run. |
Script execution directory | The local directory where the custom shell script is executed. |
Upload artifact
Collects build artifacts.
Option | Description |
Path | The relative path from the root directory to the directory where the build artifacts are stored. Note Set this option as needed. |
Traverse subdirectories | Specifies whether to traverse all subdirectories of the specified directory when uploading build artifacts. |
File extension | The file extension of the build artifacts to upload. To specify multiple extensions, separate them with a comma (,). |
Public access | Specifies whether the build artifacts are publicly readable after they are uploaded. Note For debug packages, disable this option. |