Creating or Cloning a Pipeline
Procedure
- Log in to CodeArts Pipeline.
- On the Pipelines tab page, click Create Pipeline.
On the displayed page, enter a pipeline name, select a project, select a code source, and set other parameters. For details, see Table 1.
Table 1 Parameter description Code Source
Parameter
Description
Repo
provides comprehensive code hosting services for enterprises and Git-based online code hosting services for software developers.
Repository
Select an available source code repository.
Default Branch
Branch used when a pipeline is executed manually or at a specified time.
Repo Endpoint
Configure endpoints to elevate permissions on repository operation. Endpoints are used for change-triggered pipelines and repository operation extensions.
Alias
Repository alias. If an alias is set, the system parameters are generated for the repository (you can view the parameters on the parameter configuration page).
Description
Description of the pipeline.
GitLab
Service Endpoint
Select an available service endpoint or click Create one to create a GitLab service endpoint.
Repository
Select an available source code repository.
Default Branch
Branch used when a pipeline is executed manually or at a specified time.
Description
Description of the pipeline.
Git
The repository configured in the service endpoint can be accessed through the common Git service endpoint.
Service Endpoint
Select an existing Git service endpoint or click Create one to create a Git service endpoint.
Repository
Select an available source code repository.
Default Branch
Branch used when a pipeline is executed manually or at a specified time.
Description
Description of the pipeline.
- If a pipeline does not need to be associated with a code repository, select None for pipeline source.
- Currently, the GitLab pipeline source is available in LA-Mexico City2, LA-Sao Paulo1, and AP-Singapore.
- Click Next.
On the Template page, select a template to quickly create a pipeline. You can also select Blank Template to directly create a pipeline from scratch.
- After selecting a template, click OK. On the Task Orchestration tab page, configure a pipeline and click Save.
- (Optional) Clone a pipeline in one of the following ways:
- On the Pipelines tab page, search for the target pipeline, click
in the Operation column, and click Clone.
- Click the name of the target pipeline, on the displayed Execution History tab page, click
in the upper right corner and click Clone.
- Click the name of the target pipeline, then click the execution ID or the Pipeline Details tab. On the displayed page, click
in the upper right corner and click Clone.
On the displayed page, you can change configurations as needed. For details, see Configuring a Pipeline.
- On the Pipelines tab page, search for the target pipeline, click
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