CodeArts Build
CodeArts Build
All results for "
" in this service
All results for "
" in this service
What's New
Service Overview
What Is CodeArts Build?
Advantages
Use Cases
Functions
Build Tools and Versions
Security
Shared Responsibilities
Authentication and Access Control
Data Protection Technologies
Cloud Trace Service (CTS)
Service Resilience
Certificates
Notes and Constraints
Concepts
Getting Started
Building with Ant and Uploading the Package to a Release Repo (x86, Preset Image, GUI)
Building with CMake and Uploading the Package to a Release Repo (Arm, Preset Image, GUI)
Building with Maven, Uploading the Software Package, and Pushing the Image (x86, Preset Image, Code)
Common Practices for Beginners
User Guide
Working with CodeArts Build
Purchasing CodeArts Build
Purchasing CodeArts Build
Configuring Project-Level Role Permissions
Creating a Build Task
About Build Tasks
Creating and Managing Groups
Defining a Build Task on GUI
Defining a Build Task with Code
Creating a Build Task with Code
Crafting Your build.xml for a Single Task
Crafting Your build.xml for Multiple Tasks
Configuring a Build Task
Performing Basic Configurations
Configuring the Build Environment
Configuring the Code Download
Selecting Build Actions
Configuring Build Actions
Building with Maven
Building with Android
Building with npm
Building with Gradle
Building with Yarn
Building with Gulp
Building with Grunt
Building with Mono
Building in PHP
Building with Setuptools
Building with PyInstaller
Running Shell Commands
Building with GNU Arm
Building with CMake
Building with Ant
Building with Kotlin
Building with Go
Building Android App with Ionic
Building an Android Quick App
Building in GFortran
Building with sbt
Building with Grails
Building with Bazel
Building with Flutter
Building with HarmonyOS
Running Docker Commands to Operate Images
Generating a Unit Test Report
Building an Image and Pushing It to SWR
Using an SWR Public Image
Downloading a Software Package from Release Repos
Downloading File from File Manager
Uploading a Software Package to Release Repos
Uploading Files to OBS
Configuring Parameters
Configuring Schedules
Configuring Roles and Permissions
Configuring Notifications
Running a Build Task
Viewing a Build Task
Managing Build Tasks
Querying Audit Logs
References
Syntax Guide to YAML File Configuration
Guide to Cache Directory
Old User Guide
Signing Android APK
Managing Files
Custom Build Environments
Custom Templates
Editing, Deleting, Cloning, Favoriting, and Stopping a Build Task
Best Practices
Creating a Docker Image with a Maven Artifact and Pushing the Image to SWR (Built-in Executors, GUI)
Building with Maven and Uploading the Software Package to the Self-hosted Repo (Built-in Executors, GUI)
Building with Maven to Generate a Private Dependency for Another Build (Built-in Executors, GUI)
Building with npm and Uploading the Software Package to the Release Repo (Built-in Executors, GUI)
Building with Maven (Custom Executors, GUI)
Building with Maven, Uploading the Software Package, and Pushing the Image to SWR (Built-in Executors, Code)
Running a Multi-Task Maven Build Project (Built-in Executors, Code)
Building with Maven Based on Non-default Dependencies and Uploading the Software Package to a Self-Hosted Repo (Built-in Executors, GUI)
Running a Build Task on a Custom Environment (Built-in Executors, GUI)
Configuring Role-based Permissions Before Using CodeArts Build
API Reference
Before You Start
API Overview
Calling APIs
Making an API Request
Authentication
Response
APIs
Code Management
Querying Tags
Obtaining Information About All Branches of a Task
Viewing Repositories
Tenant Management
Querying the Built-in Executor Specifications
Obtaining User Permissions
Checking If the Monthly Duration for the Project Used by the Current User Exceeds the Tenant's Yearly/Monthly Package Quota
Querying the Current Tenant (Billing) Type
Checking If the Account Is Federated
Querying Tenant Status
Obtaining the Project Information List of the Current User
Obtaining the Project List
Obtaining the Total Number of Tasks and Their Success Rate in the Tenant Account
Obtaining the Package Resource ID for Expiration Reminder and Alert
Tracking Expiration Dates of a Package
Image Templates
Obtaining an Image Template
Obtaining Image Templates
Build Task Management
Obtaining the Roles and Permissions Matrix of a Build Task
Checking If Secure Access to Intranet Is Enabled
Obtaining the Task Permission Matrix
Querying All Build Tasks
Checking If the Project Has a Task with the Specified Name
Disabling a Task
Viewing Build Information of a Build Task
Updating Notification Settings
Obtaining Notification Information
Checking If the Build Task Is Running
Deleting a Task
Obtaining Parameter Types on the Task Editing Page
Obtaining Default Parameters
Checking Whether a Task Is Disabled
Obtaining the Differences Between Build Task Configurations
Setting the Retention Period for Tasks in the Recycle Bin
Querying the Build Tasks in the Recycle Bin
Deleting Tasks from the Recycle Bin
Emptying the Recycle Bin
Restoring Tasks from the Recycle Bin
Checking the Webhook URL Parameter
Obtaining the Default Roles and Permissions Matrix of the Current Project
Obtaining the Update Records
Copying a Task Name
Querying Predefined Parameters
Stopping a Build Task (Version 1)
Checking If the Task Count Has Reached the Upper Limit
Running a Build
Running a Build Task Upon Code Commit
Creating a Build Task
Updating a Build Task
Cloning a Build Task
Querying Tasks of a Project
Obtaining Build Task Details (Version 1)
Querying Task Status
Obtaining Build Task Information in a Pipeline
Obtaining Build Parameters on the Details Page
Modifying Task Permissions in Batches
Obtaining the Status, Completion Percentage, and Estimated Time Remaining for a Named Build
Determining If a Task Uses Project-level Permissions
Querying the List of Self-Hosted Repos
Updating the Permissions Assigned to a Specific Role for a Build Task
Querying the Status of Other Tenants in Cross-Tenant Scenarios
Favoriting a Task
Unfavoriting a Task
Obtaining Branches Associated with a Badge
Build Logs
Obtaining All Run Logs
Obtaining Build Action Run Logs
Obtaining Build Logs After Task Execution
Downloading All Build Logs
Downloading Logs of Build Actions
Obtaining Build Action Logs After Task Execution
Obtaining Error Logs for a Failed Task
Build Records
Obtaining the Build Script of a Build Record
Obtaining Information About Each Task Stage
Obtaining the Brief Build Information of a Specified Project
Obtaining the Number of Builds on the Build History Page
Obtaining the Build Record List of a Specified Project
Querying Details About a Specified Build Record
Obtaining Build Records of a Task (Version 1)
Obtaining Build Record Information (Version 1)
Obtaining Build Records of a Task
Obtaining the Directed Acyclic Graph of a Build Record
Build Reports
Obtaining Unit Test Coverage Reports
Querying the Build Success Rate
Obtaining the Unit Test Coverage Report Package
Obtaining the Coverage
Uploading a Unit Test Report
Uploading a Unit Test Coverage Report
Obtaining the Build Duration Information on the Dashboard
Template Management
Querying a Specific Template Based on Its UUID
Saving Template Use Records
Querying Official Templates
Obtaining the Default Template for a YAML Build
Obtaining Recommended Templates
Querying Templates based on Specified Conditions
Creating a Build Template (Version 1)
Deleting a Build Template
Favoriting a Custom Template
Unfavoriting a Custom Template
Favoriting an Official Template
Unfavoriting an Official Template
Group Management
Creating a Build Task Group
Modifying Group Information
Swapping Group Order
Deleting a Group
Moving Build Tasks to a Specified Group
Querying a Group Tree
File Management
Configuring File Permissions
Granting File Permissions
Downloading a File from File Manager
Deleting a File
Querying Files of the Tenant
Querying Files Available to a User
Updating File Information
Uploading a File
Deleting File Permissions
Querying File Permissions
CodeArts Build (Out-of-date)
Querying Build History in a Specified Period
Querying Build History
Downloading the KeyStore File
Checking Task Running Status
Querying Build Tasks in a Project
Running a Build Task
Querying the Latest Successful Build with a Specified Code Repository
Querying Details of a Build Record
Querying Build Success Rate in a Specified Period
Downloading All Build Logs
Downloading Build Action Logs
Obtaining Build Record Information (Version 4)
Obtaining Build Output Details
Stopping a Build Task (Outdated)
Deleting a Build Task
Disabling a Build Task
Enabling a Build Task
Creating a Build Task (Outdated)
Updating a Build Task (Outdated)
Querying Build Templates
Creating a Build Template (Version 3)
Deleting a Build Template (Outdated)
Querying Notifications
Updating Notifications
Disabling Notifications
Obtaining Build Task Details (Outdated)
Downloading Real-time Build Logs
Obtaining Build Records of a Task (Outdated)
Obtaining Information About Build Outputs
Obtaining Unit Test Coverage
Deleting Build Tasks in Batches
CodeArts Build APIs (Unavailable Soon)
Stopping a Build Task (Unavailable Soon)
Downloading Build Logs (Unavailable Soon)
Obtaining the Directed Acyclic Graph of a Build Record (Unavailable Soon)
Obtaining Build Record Information (Unavailable Soon)
Application Examples
Example 1: Executing a Build Task and Checking Its Status
Example 2: Querying Build Tasks by Project ID
Appendix
Status Codes
Error Codes
Obtaining a Project ID
Obtaining an IAM Project ID
Obtaining a CodeArts Project ID
Obtaining an Account ID
Change History
FAQs
General
Can I Run a Build Task with a Specific Server or Server Configuration?
Why Are the Required Project Files Not Found During Builds?
Why Is the Software Package I Am Uploading Not Found?
Why Am I Prompted that My Permissions Are Insufficient When Running a Build Task?
Why Am I Prompted that the Build Task Does Not Exist When Calling It Through a Pipeline?
Why Is My Task Stopped?
How Do I Migrate Common Java Projects Created with Eclipse to the Cloud?
Why Am I Prompted that the Service Endpoint Does Not Exist?
How Do I Address an Incomplete JAR Package Resulting from Parallel Build Tasks?
How Do I Resolve the Error Occurred When Pulling the Sub-module During My Build?
How Do I Fix the Submodules Checkout Error Due to a Failure to Obtain Its Revision?
Why Are the Submodules Not Being Pulled During My Build?
What Can I Do If My Build Task Is Queuing?
Maven Builds
What Can I Do If License Check Fails?
Why Did My Package Upload Fail When Using the maven deploy Command?
How Do I Deal With the Missing POM File?
How Do I Deal With the Missing Package or Symbol?
How Can I Use exec-maven-plugin for Hybrid Builds with Maven and npm?
How Do I Fix the Errors Related to References Among Multiple Child and Parent Projects?
How Do I Configure and Clear the Cache for a Maven Build?
How Do I Find the Correct Build Package Path?
How Do I Use jib-maven-plugin to Build a Maven Project and Create an Image?
Why Is the New Package Still Built from the Old Code Even After the Code Has Been Updated?
Why Is My Download of Maven Components Slow?
Android Builds
How Do I Deal With the Unstable Jcenter () Configured for a Project?
What Should I Do If an Error Occurs During the Lint Check and the Task Stops?
What Should I Do When Dependency com.android.tools.build:gradle:3.0.1 Cannot Be Downloaded?
Why Am I Seeing the Error Message "Javadoc generation failed"?
Why Am I Seeing the Error Message "Could not find method google()"?
What Can I Do If the Gradle Version Is Too Early?
How Do I Fix the Android APK Signing Failure?
Gradle Builds
How Do I Address the Failure to Find the Specified Version of Gradle?
npm Builds
Why Am I Seeing the Error Message "JavaScript heap out of memory"?
Why Am I Seeing the Error Message "enoent ENOENT: no such file or directory"?
Why Am I Seeing the Error Message "Module not found: Error: Can't resolve ..."?
Why Did My Build Fail Without Displaying Any Error Logs?
Why Am I Seeing the Error Message "npm cb() never called"?
Why Am I Seeing the Error Message "gyp ERR!"? stack Error: EACCES: permission denied
Why Am I Seeing the Error Message "eslint: error 'CLODOP' is not defined"?
How Do I Fix the node-sass Download Failure?
Why Am I Seeing the Error Message "error: Could Not Write Config File"?
Why Does It Take Long to Install Dependencies and Build?
What Should I Do When the Dependency Version Cannot Be Found?
How Do I Configure a Mirror Source in the .npmrc File?
Images
How Can I Fix a Failed Image Build from a Dockerfile?
How Do I Address Failed Image Push to SWR?
How Do I Resolve the Image Pull Failure During a Build Task?
How Do I Pull a Public Image from SWR?
How Do I Push an Image to Other Tenants?
What Can I Do When the Pull of Docker Hub Images Times Out or Exceeds the Max. Attempts?
How Do I Push an Image to Other Huawei Cloud Regions?
Videos
General Reference
Glossary
Service Level Agreement
White Papers
Endpoints
Permissions