kind: pipeline # 定义一个管道 type: docker # 当前管道的类型 name: test # 当前管道的名称 steps: # 定义管道的执行步骤 - name: clone-test image: alpine/git commands: - git version - pwd - ls -a trigger: # 触发条件 branch: # git 分支 - develop event: # 事件 - push # 当推送时触发