-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json.sample
44 lines (43 loc) · 1.23 KB
/
config.json.sample
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
{
"jenkins": {
"host": "host from jenkins",
"port": host from jenkins,
"path": "/api/json?tree=jobs[name,color]",
"pathNova": "/job/s16-backend-nova/api/json?tree=activeConfigurations[name,color,url]",
"user": "the user",
"password": "the password",
"useLibrary": "pcLamp.js",
"delay": 60000
},
"lamps": [{
"id": "dev. job",
"name": "develop multibranch job",
"enabled" : true,
"job" : {
"type" : "color",
"path": "/job/s16/job/s16-multibranch-pipeline/job/develop/api/json?tree=name,color",
"ignore": [],
"colorJsonPath": "color"
}
}, {
"id": "other Jobs",
"name": "all other jobs exclude 's16-backend-nova' and 's16-multibranch-pipeline'",
"enabled" : true,
"job" : {
"type" : "color",
"path": "/job/s16/api/json?tree=jobs[name,color]",
"ignore": ["s16-backend-nova"],
"colorJsonPath": "$.jobs[?(@.color)]"
}
}, {
"id": "nova Job",
"name": "observe activeConfigurations of the job s16-backend-nova",
"enabled" : true,
"job" : {
"type" : "condition",
"path": "/job/s16/job/s16-backend-nova/lastBuild/api/json?tree=description",
"ignore": [],
"colorJsonPath": "$.description"
}
}]
}