Preparing
Before creating a code check task, perform the following operations:
- Accessing the CodeArts Check Page
- Creating a Project
- Creating a Code Repository (for Repo source code)
- Creating a Service Endpoint (for Git code source)
Accessing the CodeArts Check Page
You can access CodeArts Check from a project or the homepage.
- From a project
- On the CodeArts homepage, click a target project name. The project details page is displayed.
- Choose Code > Check.
The menu positions in a project are determined by the Theme&Layout in Preferences. Here the default settings are used as an example. To modify the appearance, click the username in the upper right corner and choose Appearance Settings.
- From the homepage
On the CodeArts homepage, choose Services > Check.
Creating a Project
Create a project in CodeArts Req. For details, see Creating a Project.
Skip this step if a project has been created.
Creating a Code Repository
Create a code repository in CodeArts Repo.
Skip this step if a code repository has been created.
Creating a Service Endpoint
Create a service endpoint first if you select Git code source when creating a code check task. Skip this step if a service endpoint has been created.
- Access a project, choose Settings > General > Service Endpoints.
- Click Create Endpoint and choose Git repository from the drop-down list.
- In the Create Service Endpoint dialog box displayed, configure parameters.
Table 1 Parameters Parameter
Description
Service Endpoint Name
Name of the service endpoint.
Git Repository URL
Web URL of a Git repository (HTTPS address).
Username
Username used for logging in to the Git repository.
Password or Access Token
Currently, only the access token is supported.
- Click OK.
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