一、基本语法
#基础语法,stage为 build、test ,build-job ,test-job1,job2
stages:
- build
- test
build-code-job:
stage: build
script:
- echo "Check the ruby version, then build some Ruby project files:"
test-code-job1:
stage: test
tags:
- cicd
script:
- echo "If the files are built successfully, test some files with one command:"
test-code-job2:
stage: test
tags:
- cicd
script:
- echo "If the files are built successfully, test other files with a different command:"
lock to this project ,no 不锁定目 | can run untagged jobs , yes 可以运行untag job
服务器租用托管,机房租用托管,主机租用托管,https://www.e1idc.com