Using Git for Build
- By default, CodeArts Build pulls code from CodeArts Repo. For code hosted on other services, you can use a Git connection to pull the code.
- Git connections are authorized using AccessToken and are used only to pull code during build.
Procedure
- Create a build task and select Git for Code Source. If you use the Git connection for the first time, create an endpoint instance first.
- Click Create next to Endpoint.
- 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
URL of the Git repository (HTTPS address).
Username
Username used for logging in to the Git repository.
Password or Access Token
Git repository password or access token.
- Click OK.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.