|
@@ -2,13 +2,6 @@ kind: pipeline # 定义对象类型,还有secret和signature两种类型
|
|
|
type: docker # 定义流水线类型,还有kubernetes、exec、ssh等类型
|
|
type: docker # 定义流水线类型,还有kubernetes、exec、ssh等类型
|
|
|
name: zz_backend # 定义流水线名称
|
|
name: zz_backend # 定义流水线名称
|
|
|
|
|
|
|
|
-clone:
|
|
|
|
|
- git:
|
|
|
|
|
- image: plugins/git
|
|
|
|
|
- # 没有 submodules 时可以关闭改选项
|
|
|
|
|
- recursive: false
|
|
|
|
|
- # 推荐使用较浅的深度,加快源码下载速度
|
|
|
|
|
- depth: 1
|
|
|
|
|
trigger:
|
|
trigger:
|
|
|
branch:
|
|
branch:
|
|
|
- dev
|
|
- dev
|