CodeArts Build
The CodeArts Build connector interconnects with Huawei Cloud CodeArts Build.
CodeArts Build provides an easy-to-use platform that supports multi-language parallel builds on the cloud. It helps enterprises improve build efficiency while lowering overall costs even at large scale.
Prerequisites
You have subscribed to CodeArts Build.
Creating a CodeArts Build Connection
- Log in to the new ROMA Connect console.
- In the navigation pane on the left, choose Connector. On the page displayed, click New Connection.
- Select the CodeArts Build connector.
- In the dialog box displayed, configure the connector and click OK.
Parameter |
Description |
---|---|
Name |
Enter the connector instance name. |
Description |
Enter the description of the connector to identify it. |
Access Key |
Access key ID (AK) of the current account. Obtain the AK by referring to Access Keys. If an AK/SK pair has been generated, find the downloaded AK/SK file (such as credentials.csv). |
Secret Access Key |
Secret access key (SK) of the current account. Obtain the SK by referring to Access Keys. If an AK/SK pair has been generated, find the downloaded AK/SK file (such as credentials.csv). |
Action
- Querying the latest successful build of a specified repository
- Querying details of a build record
- Executing a build task
- Querying success rate of a build task in a specified period
- Checking task running status
- Viewing the build task list in a project
- Downloading Keystore files
- Viewing the build history of a task based on start time and end time
- Viewing the build history of build tasks
Configuring Parameters
Parameter |
Description |
---|---|
project_id |
CodeArts project ID. |
region_id |
Region ID. |
repository_name |
Name of the code repository. |
Parameter |
Description |
---|---|
job_id |
Build task ID, which contains the 32 digits and letters at the end of the browser URL when the build task is edited. |
build_number |
Build number of the task, which starts from 1 and increases by 1 for each build. |
region_id |
Region ID. |
Parameter |
Description |
---|---|
region_id |
Region ID. |
body |
Enter the request body. |
Parameter |
Description |
---|---|
job_id |
Build task ID, which contains the 32 digits and letters at the end of the browser URL when the build task is edited. |
region_id |
Region ID. |
start_time |
Start time, which is in the YYYY-MM-DD format. |
end_time |
End time, which is in the YYYY-MM-DD format. |
Parameter |
Description |
---|---|
job_id |
Build task ID, which contains the 32 digits and letters at the end of the browser URL when the build task is edited. |
region_id |
Region ID. |
Parameter |
Description |
---|---|
project_id |
CodeArts project ID. |
region_id |
Region ID. |
page_index |
Page number, indicating that the query starts from this page. The value is no less than 0. |
page_size |
Number of items displayed on each page. The value is no more than 100. |
Parameter |
Description |
---|---|
region_id |
Region ID. |
file_name |
Name of the file to download. |
domain_id |
Tenant ID, which is a string of 32 digits and lowercase letters. |
Parameter |
Description |
---|---|
job_id |
Build task ID, which contains the 32 digits and letters at the end of the browser URL when the build task is edited. |
region_id |
Region ID. |
offset |
Page number, indicating that the query starts from this page. The value is no less than 0. |
limit |
Number of items displayed on each page. The value is no more than 100. |
start_time |
Start time, which is in the YYYY-MM-DD format. The time range cannot exceed 30 days. |
end_time |
End time, which is in the YYYY-MM-DD format. The time range cannot exceed 30 days. |
Parameter |
Description |
---|---|
job_id |
Build task ID, which contains the 32 digits and letters at the end of the browser URL when the build task is edited. |
region_id |
Region ID. |
offset |
Page number, indicating that the query starts from this page. The value is no less than 0. |
limit |
Number of items displayed on each page. The value is no more than 100. |
interval |
The time interval from the current date. The value is no more than 30. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot