-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.js
More file actions
52 lines (52 loc) · 1.29 KB
/
config.js
File metadata and controls
52 lines (52 loc) · 1.29 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
exports.config = {
host: 'http://192.168.59.103',
// port that express will run on
port: '8080',
// info or debug
log_level: 'debug',
// whether to save this configuration into the database
// and opt to use stored configs over this file
persist_config: true,
db: {
type: 'mongo',
auth: {
host: '192.168.59.103',
port: 27017,
db: 'singularity',
slaveOk: false
}
},
plugins: {
github: {
method: 'hooks',
auth: {
type: 'oauth',
token: 'CI-USER-TOKEN',
username: 'CI-USER'
},
user: 'behance',
repos: [ 'nbd.js' ],
skip_file_listing: true
},
jenkins: {
user: 'jenkins',
pass: 'password',
protocol: 'http',
host: '192.168.59.103',
token: 'remote-trigger-token',
push_projects: [
{
repo: 'nbd.js',
rules: [ new RegExp(/^master$/) ],
name: 'push-job'
}
],
projects: [
{
name: 'pr-job',
repo: 'nbd.js'
}
]
}
}
};