- 编写.gitlab-ci.yml
hello world: #Job
tags:
- shell #Gitlab-runner
before_script:
-echo "脚本执行前的任务"
script: #执行脚本
- echo "hello world"
after_script:
-echo "脚本执行完成后执行的任务"
- 运行结果:
微信扫一扫
hello world: #Job
tags:
- shell #Gitlab-runner
before_script:
-echo "脚本执行前的任务"
script: #执行脚本
- echo "hello world"
after_script:
-echo "脚本执行完成后执行的任务"
相关推荐