-
Notifications
You must be signed in to change notification settings - Fork 20
/
proj_jjb.yaml
79 lines (78 loc) · 2.54 KB
/
proj_jjb.yaml
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
- job-template:
name: "{jjb_proj}"
project-type: pipeline
properties:
- github:
url: "{jjb_git}"
- build-discarder:
days-to-keep: 50
num-to-keep: 20
- inject:
keep-system-variables: true
properties-content: |
jjb_proj={jjb_proj}
description: Do NOT edit this job through the Web GUI !
concurrent: true
sandbox: true
parameters:
- string:
name: "sha1"
default: "master"
description: "Commit to be checked, set by PR"
- bool:
name: "build_dockers"
default: false
description: "Rebuild docker containers"
- string:
name: "conf_file"
default: ".ci/job_matrix.yaml"
description: "Regex to select job config file"
- bool:
name: "do_release"
default: false
description: "Release rpm"
- string:
name: "release_dir"
default: "/.autodirect/sw/release/sw_acceleration/{jjb_proj}"
description: "Location to release rpm to"
- string:
name: "script"
default: "{jjb_jenkinsfile}"
description: "Jenkinsfile to load on trigger"
- string:
name: "DEBUG"
default: 0
description: "Enable debug prints and traces, valid values are 0-9"
triggers:
- github-pull-request:
cron: 'H/5 * * * *'
trigger-phrase: '.*\bbot:retest\b.*'
status-add-test-results: true
auth-id: '84fb9093-445b-4897-b41b-bcdabc36b12c'
org-list: ["Mellanox", "Mellanox-lab", "Nvidia"]
allow-whitelist-orgs-as-admins: true
cancel-builds-on-update: true
pipeline-scm:
scm:
- git:
url: "{jjb_git}"
credentials-id: '8dd5412b-9b3e-4110-9e0c-4363b3dfcf66'
branches: ['$sha1']
shallow-clone: true
depth: 10
refspec: "+refs/pull/*:refs/remotes/origin/pr/*"
browser: githubweb
browser-url: "{jjb_git}"
submodule:
recursive: true
tracking: true
script-path: "$script"
- project:
name: proj_name
jjb_email: '[email protected]'
jjb_proj: 'ci-demo'
jjb_git: 'https://github.com/Mellanox/ci-demo'
jjb_owner: 'Hello World'
jjb_jenkinsfile: '.ci/Jenkinsfile.shlib'
jobs:
- "{jjb_proj}"