forked from tuo/jenkins-monitor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dashboard.html
executable file
·62 lines (61 loc) · 2.36 KB
/
dashboard.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Build Dashboard</title>
<script src="jquery.min.js"></script>
<script type="text/javascript" src="jquery.jsonp-2.1.4.min.js"></script>
<script type="text/javascript" src="jquery.blockUI.js"></script>
<script type="text/javascript" src="dashboard.js"></script>
<link href="dashboard.css" media="screen" rel="stylesheet" type="text/css" />
<script>
config = {
jenkinsUrl: "http://ci.jruby.org",
view: "/view/All",
//drogenlied: true,
showOnlyJobs: [], // jobs to be shown, if [] all jobs of the view are shown
hideJobs: ['ruboto_pads_jruby_master','activerecord-jdbc-master','jruby-rack-dist',
'jruby-spec-coverage',
'jruby-test-all-master',
'jruby-test-master',
'jruby-test19-master',
'rails-3-1-stable',
'rails-3-1-stable-activerecord-jruby-jdbcmysql',
'rails-3-1-stable-activerecord-jruby-jdbcsqlite3',
'rails-master-activerecord-jruby-jdbcsqlite3',
'rails-master-railties-jruby',
'ruboto_pads',
'rails-3-1-stable-railties-jruby',
'rails-master-activerecord-jruby-jdbcmysql',
'jruby-rack-jruby-master',
'jruby-spec-ci-release',
'jruby-test-matrix',
'rails-master',
'ruboto_jruby_master'
], // jobs to be excluded
updateInterval: 4000, // in milliseconds
buildOptions: {
__default__ : {
ageWarning : 3600*100,
ageError : 3600 * 24 * 30,
buildFailWarning : 50,
buildFailError: 300
},
'Trunk Nightly' : {
ageWarning : 3600*24,
ageError : 3600 * 24 * 3
}
},
}
$(document).ready(function(){
db = new jenkinsDashboard(config);
});
</script>
</head>
<body>
<div id="content" style="width: 500px; height: 500px;">
<h2>Jenkins Monitor</h2>
<h5>Better using Safari or Google Chrome</h5>
</div>
</body>
</html>