In December, the Software Development Cloud launched a new feature - assembly line service. Before, we had to search for the code checking, compilation and construction tasks we needed among a variety of tasks. Now, with the assembly line... The pipeline service seamlessly connects code checking, compilation and construction, and associates related activities in the development process, such as code acquisition, code checking, compilation, packaging, etc. It supports one-click creation, configuration and execution, and provides serial or parallel execution of code static checking, compilation, construction and other activities, and real-time monitoring of construction status, making work more efficient and convenient. Let’s take a look at how the pipeline works.
At the top, you can view the number of executions in the pipeline, the execution success rate, the number of available pipelines, and the distribution of execution success rates in the last seven days; at the bottom left, you can view the pipeline tasks related to the current user.
On the pipeline service homepage, click the lower part of the pipeline task label to enter the editing page. On the pipeline details page, click next to the pipeline name to enter the editing page. Click to add a stage to the pipeline and edit the stage configuration in the pop-up window on the right.
Click Add Task under the stage, and then edit the task details in the pop-up window on the right. Currently, the task types supported by the pipeline are code review, build, and sub-pipeline.
Click the "Start Execution" button to start the pipeline execution. There are three pipeline execution states: gray means the pipeline has never been executed or the last execution was aborted, green means the last execution was successful, and red means the last execution failed. During the pipeline execution, click the pipeline name to enter the workspace and view the task execution progress. The pipeline service supports parallel and serial execution of tasks, which can effectively improve execution efficiency. When configuring a pipeline stage, you can select the execution mode for each task in that stage: In parallel mode, tasks are started and executed at the same time, and after all tasks are completed, they enter the next stage. In serial mode, tasks are executed in the order in which they are added.
The execution history page allows you to view execution history records, including execution sequence number, executor, pipeline status, execution time, and execution duration. The build history displays the last five times. If the last five builds all failed, the last successful record will be displayed.
Enter the "Pipeline Scheduled Execution" page, and set the schedule cycle according to the actual situation. There are three types of schedule cycles: irregular, that is, do not set the scheduled time, click "Start Build" to perform manual build according to the actual situation; daily, set a time every day for scheduled build, the format is "HH:MM",; weekly, set a time on a certain day of the week for scheduled build, the build date is Monday to Friday, after selecting the build date, fill in the build time (HH:MM). As Huawei Software Development Cloud continues to update, the pipeline service will gradually increase support for deployment, testing, release and other services, truly connecting the development process in series to achieve continuous delivery. Stay tuned! |
<<: Huawei Software Development Cloud helps improve WeChat mini-program code quality
[[177138]] In the near future, 2 million househol...
Enterprises are constantly seeking to grow and tr...
[[382434]] Since the Ministry of Industry and Inf...
1. Background AnalyticDB for PostgreSQL (ADB PG f...
[51CTO.com original article] On July 21-22, 2017,...
[[420999]] 1. Background If only the canvas tag i...
If we take stock of the hottest trends in the tec...
When checking the eligibility for number portabil...
In this era of information explosion, data transm...
As a result of the pandemic, tens of millions of ...
"New infrastructure" is one of the core...
Embedded Subscriber Identity Modules (eSIMs) have...
The latest news shows that my country has built a...
Since 2015, the country has begun to continuously...
[[388322]] Today, UK Ofcom announced the results ...