You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
snarwork/.drone.yml

40 lines
872 B

kind: pipeline # 定义一个管道
type: docker # 当前管道的类型
name: test # 当前管道的名称
steps: # 定义管道的执行步骤
- name: test # 步骤名称
image: node:latest # 当前步骤使用的镜像
commands: # 当前步骤执行的命令
- echo 测试drone执行
#kind: pipeline
#type: exec
#name: default
#
#platform:
# os: linux
# arch: amd64
#
#steps:
# - name: greeting
# commands:
# - echo hello world
#node:
# role: pi-runner
#---
#kind: pipeline
#type: docker
#name: code-analysis
#
#steps:
# - name: code-analysis
# image: plugins/sonarqube-scanner:linux-amd64
# settings:
# sonar_host: http://124.221.150.102:9000
# sonar_token: sqp_1f8c46141040c583d8e1f81f4f8302230ee1317e
# sonar_name: pert
# sonar_key: pert
# level: TRACE
# showProfiling: true
#node:
# role: pi-runner