-
Notifications
You must be signed in to change notification settings - Fork 128
Expand file tree
/
Copy pathproj_jjb.yaml
More file actions
77 lines (76 loc) · 2.46 KB
/
proj_jjb.yaml
File metadata and controls
77 lines (76 loc) · 2.46 KB
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
- job-template:
name: "{jjb_proj}"
project-type: pipeline
properties:
- github:
url: "{jjb_git}"
- build-discarder:
days-to-keep: 30
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: true
description: "Rebuild docker containers"
- string:
name: "conf_file"
default: ".ci/slurm_tests/job_matrix.yaml"
description: "Regex to select job config file"
- 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"
- string:
name: "UCC_VERSION"
default: "1.0.0"
description: "UCC version"
# triggers:
# - github-pull-request:
# cron: 'H/5 * * * *'
# trigger-phrase: '.*\bbot:retest\b.*'
# status-context: "ucc"
# success-status: "Test PASSed."
# failure-status: "Test FAILed."
# error-status: "Test FAILed."
# status-add-test-results: true
# # swx-jenkins2 from GitHub Pull Request Builder
# auth-id: 'cb48aefb-4f90-4d52-a9bc-63d92382e0be'
# org-list: ["Mellanox","openucx"]
# white-list: ["swx-jenkins","swx-jenkins2","swx-jenkins3","mellanox-github"]
# allow-whitelist-orgs-as-admins: true
pipeline-scm:
scm:
- git:
url: "{jjb_git}"
credentials-id: 'b042dbee-a0cf-4e23-9efc-a6dc6586f49c'
branches: [ '$sha1' ]
shallow-clone: true
depth: 10
refspec: "+refs/heads/*:refs/remotes/origin/* +refs/pull/*:refs/remotes/origin/pr/*"
browser: githubweb
browser-url: "{jjb_git}"
script-path: "$script"
- project:
name: proj_name
jjb_email: 'michaelbr@nvidia.com'
jjb_proj: 'UCC/ucc_slurm_tests'
jjb_git: 'git@github.com:openucx/ucc.git'
jjb_owner: 'michaelbr'
jjb_jenkinsfile: '.ci/Jenkinsfile.shlib'
jobs:
- "{jjb_proj}"