forked from Badbird5907/ServerLauncher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin_config.example.json
48 lines (46 loc) · 1.16 KB
/
plugin_config.example.json
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
[
{
"fileName": "ProtocolLib_GitHub.jar",
"source": {
"github": {
"repository": "dmulloy2/ProtocolLib",
"release": "4.8.0",
"asset": "ProtocolLib.jar",
// Auth is optional
"username": "username",
"token": "Github Token"
}
}
},
{
"fileName": "ProtocolLib_Jenkins.jar",
"source": {
"jenkins": {
"serverURL": "https://ci.dmulloy2.net/",
"jobName": "ProtocolLib",
"artifactName": "ProtocolLib.jar",
// Auth is optional
"username": "username",
"token": "Jenkins Token"
}
}
},
{
"fileName": "TeamCity.jar",
"source": {
"teamCity": {
"url": "https://teamcity.example.com",
"username": "username",
"password": "password",
"token": "token", // You Can use a token instead of a username and password
"buildConfig": "Plugin",
"artifactName": "Plugin.jar",
// Optional fields:
"tag": "release",
"branch": "production",
"number": "69", // Build number
"revision": "8a29fb6a70f9ab37e7620dacb08608d744e00c6c", // Commit hash
}
}
}
]