forked from jenkins-x/jx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jenkins-x-lint.yml
executable file
·36 lines (34 loc) · 1.08 KB
/
jenkins-x-lint.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
buildPack: none
pipelineConfig:
pipelines:
pullRequest:
pipeline:
agent:
image: rawlingsj/executor:dev31
stages:
- name: ci
environment:
- name: GOPATH
value: /workspace/go
- name: GOPROXY
value: http://jenkins-x-athens-proxy
- name: PATH
value: "/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/workspace/go/bin"
steps:
- name: mkdir
image: busybox
command: mkdir
args:
- -p
- /workspace/go/src/github.com/jenkins-x/jx
- name: copy
image: busybox
command: cp
args:
- -R
- "./"
- /workspace/go/src/github.com/jenkins-x/jx
- name: lint
image: golang:1.12.4
command: ./hack/run-all-checks.sh
dir: /workspace/go/src/github.com/jenkins-x/jx