kind: pipeline type: docker name: default steps: # 新增执行shell脚本的步骤 - name: run-hello-script commands: - chmod +x hello.sh # 添加执行权限 - ./hello.sh # 执行脚本