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.
43 lines
731 B
43 lines
731 B
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: greeting
|
|
image: golang:1.12
|
|
commands:
|
|
- go build
|
|
- go test
|
|
node:
|
|
role: pi-runner
|
|
#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 |