parent
69f9dc1bab
commit
abed806361
@ -1,31 +1,41 @@ |
|||||||
kind: pipeline |
kind: pipeline |
||||||
type: exec |
type: docker |
||||||
name: default |
name: default |
||||||
|
|
||||||
platform: |
|
||||||
os: linux |
|
||||||
arch: amd64 |
|
||||||
|
|
||||||
steps: |
steps: |
||||||
- name: greeting |
- name: greeting |
||||||
|
image: golang:1.12 |
||||||
commands: |
commands: |
||||||
- echo hello world |
- go build |
||||||
node: |
- go test |
||||||
role: pi-runner |
#kind: pipeline |
||||||
--- |
#type: exec |
||||||
kind: pipeline |
#name: default |
||||||
type: docker |
# |
||||||
name: code-analysis |
#platform: |
||||||
|
# os: linux |
||||||
steps: |
# arch: amd64 |
||||||
- name: code-analysis |
# |
||||||
image: plugins/sonarqube-scanner:linux-amd64 |
#steps: |
||||||
settings: |
# - name: greeting |
||||||
sonar_host: http://124.221.150.102:9000 |
# commands: |
||||||
sonar_token: sqp_1f8c46141040c583d8e1f81f4f8302230ee1317e |
# - echo hello world |
||||||
sonar_name: pert |
#node: |
||||||
sonar_key: pert |
# role: pi-runner |
||||||
level: TRACE |
#--- |
||||||
showProfiling: true |
#kind: pipeline |
||||||
node: |
#type: docker |
||||||
role: pi-runner |
#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 |
||||||
Loading…
Reference in new issue