更新.gitlab-ci.yml文件

This commit is contained in:
2022-02-07 09:46:10 +00:00
parent fabb975e50
commit 462610305f

View File

@@ -25,8 +25,9 @@ build-job: # This job runs in the build stage, which runs first.
stage: build stage: build
image: alpine:edge image: alpine:edge
script: script:
- echo "Compiling the code..." - echo "开始在 alpine:edge 中执行构建任务"
- echo "Compile complete." - ping www.baidu.com
- echo "结束在 alpine:edge 中的构建任务"
unit-test-job: # This job runs in the test stage. unit-test-job: # This job runs in the test stage.
stage: test # It only starts when the job in the build stage completes successfully. stage: test # It only starts when the job in the build stage completes successfully.