37 |
38 |
39 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/core/ImagePortlet/config_ja.properties:
--------------------------------------------------------------------------------
1 | # The MIT License
2 | #
3 | # Copyright (c) 2012, Seiji Sogabe
4 | #
5 | # Permission is hereby granted, free of charge, to any person obtaining a copy
6 | # of this software and associated documentation files (the "Software"), to deal
7 | # in the Software without restriction, including without limitation the rights
8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | # copies of the Software, and to permit persons to whom the Software is
10 | # furnished to do so, subject to the following conditions:
11 | #
12 | # The above copyright notice and this permission notice shall be included in
13 | # all copies or substantial portions of the Software.
14 | #
15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | # THE SOFTWARE.
22 |
23 | Display\ name=\u540d\u79f0
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/DashboardPortlet/config_fr.properties:
--------------------------------------------------------------------------------
1 | # The MIT License
2 | #
3 | # Copyright (c) 2004-2010, Sun Microsystems, Inc.
4 | #
5 | # Permission is hereby granted, free of charge, to any person obtaining a copy
6 | # of this software and associated documentation files (the "Software"), to deal
7 | # in the Software without restriction, including without limitation the rights
8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | # copies of the Software, and to permit persons to whom the Software is
10 | # furnished to do so, subject to the following conditions:
11 | #
12 | # The above copyright notice and this permission notice shall be included in
13 | # all copies or substantial portions of the Software.
14 | #
15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | # THE SOFTWARE.
22 |
23 | Display\ name=Nom
24 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/DashboardPortlet/config_it.properties:
--------------------------------------------------------------------------------
1 | # The MIT License
2 | #
3 | # Copyright (c) 2004-2010, Sun Microsystems, Inc.
4 | #
5 | # Permission is hereby granted, free of charge, to any person obtaining a copy
6 | # of this software and associated documentation files (the "Software"), to deal
7 | # in the Software without restriction, including without limitation the rights
8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | # copies of the Software, and to permit persons to whom the Software is
10 | # furnished to do so, subject to the following conditions:
11 | #
12 | # The above copyright notice and this permission notice shall be included in
13 | # all copies or substantial portions of the Software.
14 | #
15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | # THE SOFTWARE.
22 |
23 | Display\ name=Nome visualizzato
24 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/DashboardPortlet/config_ja.properties:
--------------------------------------------------------------------------------
1 | # The MIT License
2 | #
3 | # Copyright (c) 2004-2010, Sun Microsystems, Inc.
4 | #
5 | # Permission is hereby granted, free of charge, to any person obtaining a copy
6 | # of this software and associated documentation files (the "Software"), to deal
7 | # in the Software without restriction, including without limitation the rights
8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | # copies of the Software, and to permit persons to whom the Software is
10 | # furnished to do so, subject to the following conditions:
11 | #
12 | # The above copyright notice and this permission notice shall be included in
13 | # all copies or substantial portions of the Software.
14 | #
15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | # THE SOFTWARE.
22 |
23 | Display\ name=\u540d\u79f0
24 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/core/UnstableJobsPortlet/portlet_fr.properties:
--------------------------------------------------------------------------------
1 | # The MIT License
2 | #
3 | # Copyright (c) 2004-2010, Sun Microsystems, Inc.
4 | #
5 | # Permission is hereby granted, free of charge, to any person obtaining a copy
6 | # of this software and associated documentation files (the "Software"), to deal
7 | # in the Software without restriction, including without limitation the rights
8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | # copies of the Software, and to permit persons to whom the Software is
10 | # furnished to do so, subject to the following conditions:
11 | #
12 | # The above copyright notice and this permission notice shall be included in
13 | # all copies or substantial portions of the Software.
14 | #
15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | # THE SOFTWARE.
22 |
23 | No\ unstable\ jobs=Pas de jobs instables
24 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/test/TestTrendChart/main_ja.properties:
--------------------------------------------------------------------------------
1 | #MIT License
2 | #
3 | # Copyright (c) 2012, Seiji Sogabe
4 | #
5 | # Permission is hereby granted, free of charge, to any person obtaining a copy
6 | # of this software and associated documentation files (the "Software"), to deal
7 | # in the Software without restriction, including without limitation the rights
8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | # copies of the Software, and to permit persons to whom the Software is
10 | # furnished to do so, subject to the following conditions:
11 | #
12 | # The above copyright notice and this permission notice shall be included in
13 | # all copies or substantial portions of the Software.
14 | #
15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | # THE SOFTWARE.
22 |
23 | Test\ Summary\ graph=\u30c6\u30b9\u30c8\u63a8\u79fb\u30b0\u30e9\u30d5
24 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/test/TestTrendChart/portlet_ja.properties:
--------------------------------------------------------------------------------
1 | #MIT License
2 | #
3 | # Copyright (c) 2012, Seiji Sogabe
4 | #
5 | # Permission is hereby granted, free of charge, to any person obtaining a copy
6 | # of this software and associated documentation files (the "Software"), to deal
7 | # in the Software without restriction, including without limitation the rights
8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | # copies of the Software, and to permit persons to whom the Software is
10 | # furnished to do so, subject to the following conditions:
11 | #
12 | # The above copyright notice and this permission notice shall be included in
13 | # all copies or substantial portions of the Software.
14 | #
15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | # THE SOFTWARE.
22 |
23 | Test\ Summary\ graph=\u30c6\u30b9\u30c8\u63a8\u79fb\u30b0\u30e9\u30d5
24 |
--------------------------------------------------------------------------------
/src/main/webapp/js/dashboard-view.js:
--------------------------------------------------------------------------------
1 | function togglePortlet(portlet, show)
2 | {
3 | let content = portlet.querySelector(".dbv-portlet__content");
4 | let collapse = portlet.querySelector(".dbv-portlet__title-button--collapse");
5 | let expand = portlet.querySelector(".dbv-portlet__title-button--expand");
6 | if (show) {
7 | content.classList.remove("jenkins-hidden");
8 | expand.classList.add("jenkins-hidden");
9 | collapse.classList.remove("jenkins-hidden");
10 | } else {
11 | content.classList.add("jenkins-hidden");
12 | expand.classList.remove("jenkins-hidden");
13 | collapse.classList.add("jenkins-hidden");
14 | }
15 | }
16 |
17 | Behaviour.specify(".dbv-portlet__title-button--maximize", "dbv-maximize", 0, function(cmd) {
18 | cmd.classList.remove("jenkins-hidden");
19 | });
20 |
21 | Behaviour.specify(".dbv-portlet__title-button--collapse", "dbv-collapse", 0, function(cmd) {
22 | let portlet = cmd.closest(".dbv-portlet");
23 | cmd.onclick = function() {
24 | togglePortlet(portlet, false);
25 | }
26 | cmd.classList.remove("jenkins-hidden")
27 | });
28 |
29 | Behaviour.specify(".dbv-portlet__title-button--expand", "dbv-expand", 0, function(cmd) {
30 | let portlet = cmd.closest(".dbv-portlet");
31 | cmd.onclick = function() {
32 | togglePortlet(portlet, true);
33 | }
34 | });
35 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/builds/LatestBuilds/latestbuilds_nl.properties:
--------------------------------------------------------------------------------
1 | # The MIT License
2 | #
3 | # Copyright (c) 2004-2010, Sun Microsystems, Inc.
4 | #
5 | # Permission is hereby granted, free of charge, to any person obtaining a copy
6 | # of this software and associated documentation files (the "Software"), to deal
7 | # in the Software without restriction, including without limitation the rights
8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | # copies of the Software, and to permit persons to whom the Software is
10 | # furnished to do so, subject to the following conditions:
11 | #
12 | # The above copyright notice and this permission notice shall be included in
13 | # all copies or substantial portions of the Software.
14 | #
15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | # THE SOFTWARE.
22 |
23 | Build\ name=Job
24 | Build\ status=Bouwpoging
25 | Build\ time=Tijd
26 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/Messages.properties:
--------------------------------------------------------------------------------
1 | Dashboard.JobStatistics=Job statistics
2 | Dashboard.BuildStatistics=Build statistics
3 | Dashboard.Success=success
4 | Dashboard.Skipped=skipped
5 | Dashboard.Failed=failed
6 | Dashboard.NoDataAvailable=No data available
7 | Dashboard.TestStatisticsChart=Test Statistics Chart
8 | Dashboard.DisplayName=Dashboard
9 | Dashboard.LatestBuilds=Latest builds
10 | Dashboard.JenkinsJobsList=Jenkins jobs list
11 | Dashboard.JobsGrid=Jobs Grid
12 | Dashboard.UnstableJobs=Unstable Jobs
13 | Dashboard.NoRecentBuildsFailed=No recent builds failed
14 | Dashboard.RecentBuildsFailed={0}-{1}% of recent builds failed
15 | Dashboard.AllRecentBuildsFailed=All recent builds failed
16 | Dashboard.UnknownStatus=Unknown status
17 | Dashboard.TestStatisticsGrid=Test Statistics Grid
18 | Dashboard.TestTrendChart=Test Trend Chart
19 | Dashboard.Total=total
20 | Dashboard.Date=date
21 | Dashboard.Count=count
22 | Dashboard.AgentStatistics=Agent statistics
23 | Dashboard.Image=Image
24 | Dashboard.ImageUrlEmpty=Image URL should not be empty.
25 | Dashboard.ImageUrlInvalid=Image URL is invalid: {0}
26 | Dashboard.ImageUrlHttp=Image URL must be http or https.
27 | Dashboard.IframePortlet=Iframe Portlet
28 | Dashboard.UrlEmpty=URL should not be empty.
29 | Dashboard.UrlInvalid=URL is invalid: {0}
30 | Dashboard.UrlHttp=URL must be http or https.
31 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/builds/LatestBuilds/latestbuilds_it.properties:
--------------------------------------------------------------------------------
1 | # The MIT License
2 | #
3 | # Copyright (c) 2004-2010, Sun Microsystems, Inc.
4 | #
5 | # Permission is hereby granted, free of charge, to any person obtaining a copy
6 | # of this software and associated documentation files (the "Software"), to deal
7 | # in the Software without restriction, including without limitation the rights
8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | # copies of the Software, and to permit persons to whom the Software is
10 | # furnished to do so, subject to the following conditions:
11 | #
12 | # The above copyright notice and this permission notice shall be included in
13 | # all copies or substantial portions of the Software.
14 | #
15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | # THE SOFTWARE.
22 |
23 | Build\ name=Job
24 | Build\ status=Stato del build
25 | Build\ time=Data e ora
26 |
--------------------------------------------------------------------------------
/src/main/java/hudson/plugins/view/dashboard/test/TestResult.java:
--------------------------------------------------------------------------------
1 | package hudson.plugins.view.dashboard.test;
2 |
3 | import hudson.model.Job;
4 |
5 | public class TestResult {
6 |
7 | private final Job job;
8 | protected int tests;
9 | protected int success;
10 | protected int failed;
11 | protected int skipped;
12 |
13 | public TestResult(Job job, int tests, int failed, int skipped) {
14 | super();
15 | this.job = job;
16 | this.tests = tests;
17 | this.failed = failed;
18 | this.skipped = skipped;
19 |
20 | this.success = tests - failed - skipped;
21 | }
22 |
23 | public Job getJob() {
24 | return job;
25 | }
26 |
27 | public int getTests() {
28 | return tests;
29 | }
30 |
31 | public int getSuccess() {
32 | return success;
33 | }
34 |
35 | public double getSuccessPct() {
36 | return tests != 0 ? ((double) success / tests) : 0d;
37 | }
38 |
39 | public int getFailed() {
40 | return failed;
41 | }
42 |
43 | public double getFailedPct() {
44 | return tests != 0 ? ((double) failed / tests) : 0d;
45 | }
46 |
47 | public int getSkipped() {
48 | return skipped;
49 | }
50 |
51 | public double getSkippedPct() {
52 | return tests != 0 ? ((double) skipped / tests) : 0d;
53 | }
54 | }
55 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/test/TestTrendChart/config.properties:
--------------------------------------------------------------------------------
1 | # The MIT License
2 | #
3 | # Copyright (c) 2004-2010, Sun Microsystems, Inc.
4 | #
5 | # Permission is hereby granted, free of charge, to any person obtaining a copy
6 | # of this software and associated documentation files (the "Software"), to deal
7 | # in the Software without restriction, including without limitation the rights
8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | # copies of the Software, and to permit persons to whom the Software is
10 | # furnished to do so, subject to the following conditions:
11 | #
12 | # The above copyright notice and this permission notice shall be included in
13 | # all copies or substantial portions of the Software.
14 | #
15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | # THE SOFTWARE.
22 |
23 | Number\ of\ latest\ days\ to\ display=Number of (latest) days to display
24 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/test/TestStatisticsPortlet/portlet_nl.properties:
--------------------------------------------------------------------------------
1 | # The MIT License
2 | #
3 | # Copyright (c) 2004-2010, Sun Microsystems, Inc.
4 | #
5 | # Permission is hereby granted, free of charge, to any person obtaining a copy
6 | # of this software and associated documentation files (the "Software"), to deal
7 | # in the Software without restriction, including without limitation the rights
8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | # copies of the Software, and to permit persons to whom the Software is
10 | # furnished to do so, subject to the following conditions:
11 | #
12 | # The above copyright notice and this permission notice shall be included in
13 | # all copies or substantial portions of the Software.
14 | #
15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | # THE SOFTWARE.
22 |
23 | Failed=Gefaald
24 | Job=Job
25 | Skipped=Overgeslagen
26 | Success=Succes
27 | Total=Totaal
28 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/builds/LatestBuilds/latestbuilds.properties:
--------------------------------------------------------------------------------
1 | # The MIT License
2 | #
3 | # Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Seiji Sogabe
4 | #
5 | # Permission is hereby granted, free of charge, to any person obtaining a copy
6 | # of this software and associated documentation files (the "Software"), to deal
7 | # in the Software without restriction, including without limitation the rights
8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | # copies of the Software, and to permit persons to whom the Software is
10 | # furnished to do so, subject to the following conditions:
11 | #
12 | # The above copyright notice and this permission notice shall be included in
13 | # all copies or substantial portions of the Software.
14 | #
15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | # THE SOFTWARE.
22 |
23 | Build\ name=Job
24 | Build\ status=Build
25 | Build\ time=Time
26 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/stats/StatBuilds/statbuilds_fr.properties:
--------------------------------------------------------------------------------
1 | # The MIT License
2 | #
3 | # Copyright (c) 2004-2010, Sun Microsystems, Inc.
4 | #
5 | # Permission is hereby granted, free of charge, to any person obtaining a copy
6 | # of this software and associated documentation files (the "Software"), to deal
7 | # in the Software without restriction, including without limitation the rights
8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | # copies of the Software, and to permit persons to whom the Software is
10 | # furnished to do so, subject to the following conditions:
11 | #
12 | # The above copyright notice and this permission notice shall be included in
13 | # all copies or substantial portions of the Software.
14 | #
15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | # THE SOFTWARE.
22 |
23 | All\ builds=Tous les builds
24 | Status=\u00C9tats
25 | Status\ of\ the\ build=\u00C9tat de la build
26 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/test/TestStatisticsPortlet/portlet_sv_SE.properties:
--------------------------------------------------------------------------------
1 | # The MIT License
2 | #
3 | # Copyright (c) 2004-2010, Sun Microsystems, Inc.
4 | #
5 | # Permission is hereby granted, free of charge, to any person obtaining a copy
6 | # of this software and associated documentation files (the "Software"), to deal
7 | # in the Software without restriction, including without limitation the rights
8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | # copies of the Software, and to permit persons to whom the Software is
10 | # furnished to do so, subject to the following conditions:
11 | #
12 | # The above copyright notice and this permission notice shall be included in
13 | # all copies or substantial portions of the Software.
14 | #
15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | # THE SOFTWARE.
22 |
23 | Failed=Misslyckade
24 | Job=Jobb
25 | Skipped=\u00D6verhoppade
26 | Success=Lyckades
27 | Total=Totalt
28 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/test/TestStatisticsPortlet/portlet_fr.properties:
--------------------------------------------------------------------------------
1 | # The MIT License
2 | #
3 | # Copyright (c) 2004-2010, Sun Microsystems, Inc.
4 | #
5 | # Permission is hereby granted, free of charge, to any person obtaining a copy
6 | # of this software and associated documentation files (the "Software"), to deal
7 | # in the Software without restriction, including without limitation the rights
8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | # copies of the Software, and to permit persons to whom the Software is
10 | # furnished to do so, subject to the following conditions:
11 | #
12 | # The above copyright notice and this permission notice shall be included in
13 | # all copies or substantial portions of the Software.
14 | #
15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | # THE SOFTWARE.
22 |
23 | Failed=\u00C9chou\u00E9s
24 | Job=Job
25 | Skipped=Non lanc\u00E9s
26 | Success=R\u00E9ussis
27 | Total=Total
28 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/Dashboard/newViewDetail_fr.properties:
--------------------------------------------------------------------------------
1 | # The MIT License
2 | #
3 | # Copyright (c) 2004-2010, Sun Microsystems, Inc.
4 | #
5 | # Permission is hereby granted, free of charge, to any person obtaining a copy
6 | # of this software and associated documentation files (the "Software"), to deal
7 | # in the Software without restriction, including without limitation the rights
8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | # copies of the Software, and to permit persons to whom the Software is
10 | # furnished to do so, subject to the following conditions:
11 | #
12 | # The above copyright notice and this permission notice shall be included in
13 | # all copies or substantial portions of the Software.
14 | #
15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | # THE SOFTWARE.
22 |
23 | blurb=Vue personnalisable qui peut afficher une vari\u00E9t\u00E9 de Portlets offrant diff\u00E9rentes informations sur vos travaux.
24 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/core/UnstableJobsPortlet/portlet_el.properties:
--------------------------------------------------------------------------------
1 | # The MIT License
2 | #
3 | # Copyright (c) 2004-2010, Sun Microsystems, Inc.
4 | #
5 | # Permission is hereby granted, free of charge, to any person obtaining a copy
6 | # of this software and associated documentation files (the "Software"), to deal
7 | # in the Software without restriction, including without limitation the rights
8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | # copies of the Software, and to permit persons to whom the Software is
10 | # furnished to do so, subject to the following conditions:
11 | #
12 | # The above copyright notice and this permission notice shall be included in
13 | # all copies or substantial portions of the Software.
14 | #
15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | # THE SOFTWARE.
22 |
23 | No\ unstable\ jobs=\u0394\u03B5\u03BD \u03C5\u03C0\u03AC\u03C1\u03C7\u03BF\u03C5\u03BD "\u03C3\u03C0\u03B1\u03C3\u03BC\u03AD\u03BD\u03B1" builds
24 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/builds/LatestBuilds/latestbuilds_ja.properties:
--------------------------------------------------------------------------------
1 | # The MIT License
2 | #
3 | # Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Seiji Sogabe
4 | #
5 | # Permission is hereby granted, free of charge, to any person obtaining a copy
6 | # of this software and associated documentation files (the "Software"), to deal
7 | # in the Software without restriction, including without limitation the rights
8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | # copies of the Software, and to permit persons to whom the Software is
10 | # furnished to do so, subject to the following conditions:
11 | #
12 | # The above copyright notice and this permission notice shall be included in
13 | # all copies or substantial portions of the Software.
14 | #
15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | # THE SOFTWARE.
22 |
23 | Build\ name=\u30b8\u30e7\u30d6
24 | Build\ status=\u30d3\u30eb\u30c9
25 | Build\ time=\u6642\u523b
26 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/stats/StatJobs/statjobs_fr.properties:
--------------------------------------------------------------------------------
1 | # The MIT License
2 | #
3 | # Copyright (c) 2004-2010, Sun Microsystems, Inc.
4 | #
5 | # Permission is hereby granted, free of charge, to any person obtaining a copy
6 | # of this software and associated documentation files (the "Software"), to deal
7 | # in the Software without restriction, including without limitation the rights
8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | # copies of the Software, and to permit persons to whom the Software is
10 | # furnished to do so, subject to the following conditions:
11 | #
12 | # The above copyright notice and this permission notice shall be included in
13 | # all copies or substantial portions of the Software.
14 | #
15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | # THE SOFTWARE.
22 |
23 | All\ projects=Tous les jobs
24 | Description=Description
25 | Number\ of\ projects=Nombre de jobs
26 | Project\ health=Sant\u00E9 des jobs
27 | Total\ projects=Total des jobs
28 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/test/TestStatisticsPortlet/portlet_ja.properties:
--------------------------------------------------------------------------------
1 | # The MIT License
2 | #
3 | # Copyright (c) 2004-2010, Sun Microsystems, Inc.
4 | #
5 | # Permission is hereby granted, free of charge, to any person obtaining a copy
6 | # of this software and associated documentation files (the "Software"), to deal
7 | # in the Software without restriction, including without limitation the rights
8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | # copies of the Software, and to permit persons to whom the Software is
10 | # furnished to do so, subject to the following conditions:
11 | #
12 | # The above copyright notice and this permission notice shall be included in
13 | # all copies or substantial portions of the Software.
14 | #
15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | # THE SOFTWARE.
22 |
23 | Failed=\u5931\u6557
24 | Success=\u6210\u529f
25 | Total=\u7dcf\u8a08
26 | Job=\u30b8\u30e7\u30d6
27 | Skipped=\u30b9\u30ad\u30c3\u30d7
28 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/stats/StatSlaves/poller.js:
--------------------------------------------------------------------------------
1 | let err = 0;
2 | function repeat() {
3 | buildStat.getStats(function(t) {
4 | let tables = document.querySelectorAll(".dbv-agents-table");
5 | for (let table of tables) {
6 | let tableId = table.id;
7 | if (t.status === 200) {
8 | err = 0;
9 | let stats = t.responseObject();
10 | document.getElementById('agents-' + tableId).innerText = stats.agents;
11 | document.getElementById('onlineAgents-' + tableId).innerText = stats.onlineAgents;
12 | document.getElementById('offlineAgents-' + tableId).innerText = stats.offlineAgents;
13 | document.getElementById('disconnectedAgents-' + tableId).innerText = stats.disconnectedAgents;
14 | document.getElementById('tasksInQueue-' + tableId).innerText = stats.tasksInQueue;
15 | document.getElementById('runningJobs-' + tableId).innerText = stats.runningJobs;
16 | } else if (t.status === 503 || t.status === 0) {
17 | // Consider these recoverable and don't update error count
18 | document.getElementById('runningJobs-' + tableId).innerText = 'ERR-' +
19 | (t.status === 0)? 'OFFLINE' : 'PROXY';
20 | } else {
21 | err++;
22 | document.getElementById('runningJobs-' + tableId).innerText = 'ERR-' + err;
23 | }
24 | }
25 |
26 | if (err < 5) {
27 | setTimeout(repeat, 2500);
28 | }
29 | });
30 | }
31 | repeat();
32 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/Dashboard/newViewDetail_ko.properties:
--------------------------------------------------------------------------------
1 | # The MIT License
2 | #
3 | # Copyright (c) 2004-2010, Sun Microsystems, Inc.
4 | #
5 | # Permission is hereby granted, free of charge, to any person obtaining a copy
6 | # of this software and associated documentation files (the "Software"), to deal
7 | # in the Software without restriction, including without limitation the rights
8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | # copies of the Software, and to permit persons to whom the Software is
10 | # furnished to do so, subject to the following conditions:
11 | #
12 | # The above copyright notice and this permission notice shall be included in
13 | # all copies or substantial portions of the Software.
14 | #
15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | # THE SOFTWARE.
22 |
23 | blurb=\uC8FC\uBB38\uC81C\uC791 \uB41C \uC870\uD68C\uB294 \uC791\uC5C5\uC5D0 \uB300\uD55C \uC815\uBCF4\uB97C \uD3EC\uD568\uD55C \uB9CE\uC740 \uD3EC\uD2C0\uB9BF\uB4E4\uC744 \uD3EC\uD568.
24 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/builds/LatestBuilds/latestbuilds_el.properties:
--------------------------------------------------------------------------------
1 | # The MIT License
2 | #
3 | # Copyright (c) 2004-2010, Sun Microsystems, Inc.
4 | #
5 | # Permission is hereby granted, free of charge, to any person obtaining a copy
6 | # of this software and associated documentation files (the "Software"), to deal
7 | # in the Software without restriction, including without limitation the rights
8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | # copies of the Software, and to permit persons to whom the Software is
10 | # furnished to do so, subject to the following conditions:
11 | #
12 | # The above copyright notice and this permission notice shall be included in
13 | # all copies or substantial portions of the Software.
14 | #
15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | # THE SOFTWARE.
22 |
23 | Build\ name=Project / \u0395\u03C1\u03B3\u03B1\u03C3\u03AF\u03B1
24 | Build\ status=Build
25 | Build\ time=\u0397\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1 & \u038F\u03C1\u03B1
26 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/stats/StatJobs/statjobs.properties:
--------------------------------------------------------------------------------
1 | # The MIT License
2 | #
3 | # Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Seiji Sogabe
4 | #
5 | # Permission is hereby granted, free of charge, to any person obtaining a copy
6 | # of this software and associated documentation files (the "Software"), to deal
7 | # in the Software without restriction, including without limitation the rights
8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | # copies of the Software, and to permit persons to whom the Software is
10 | # furnished to do so, subject to the following conditions:
11 | #
12 | # The above copyright notice and this permission notice shall be included in
13 | # all copies or substantial portions of the Software.
14 | #
15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | # THE SOFTWARE.
22 |
23 | ProjectStat=Job Statistics
24 | Project\ health=Job health
25 | Description=Description
26 | Number\ of\ projects=Number of jobs
27 | Total\ projects=Total jobs
28 | All\ projects=All jobs
29 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/builds/LatestBuilds/latestbuilds.jelly:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/stats/StatBuilds/statbuilds.properties:
--------------------------------------------------------------------------------
1 | # The MIT License
2 | #
3 | # Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Seiji Sogabe
4 | #
5 | # Permission is hereby granted, free of charge, to any person obtaining a copy
6 | # of this software and associated documentation files (the "Software"), to deal
7 | # in the Software without restriction, including without limitation the rights
8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | # copies of the Software, and to permit persons to whom the Software is
10 | # furnished to do so, subject to the following conditions:
11 | #
12 | # The above copyright notice and this permission notice shall be included in
13 | # all copies or substantial portions of the Software.
14 | #
15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | # THE SOFTWARE.
22 |
23 | BuildStat=Build Statistics
24 | Status\ of\ the\ build=Status of the build
25 | Number\ of\ builds\ with\ status=Number of builds
26 | Total\ builds = Total builds
27 | All\ builds=All builds
28 |
29 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/test/TestStatisticsPortlet/config_ja.properties:
--------------------------------------------------------------------------------
1 | # The MIT License
2 | #
3 | # Copyright (c) 2012, Seiji Sogabe
4 | #
5 | # Permission is hereby granted, free of charge, to any person obtaining a copy
6 | # of this software and associated documentation files (the "Software"), to deal
7 | # in the Software without restriction, including without limitation the rights
8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | # copies of the Software, and to permit persons to whom the Software is
10 | # furnished to do so, subject to the following conditions:
11 | #
12 | # The above copyright notice and this permission notice shall be included in
13 | # all copies or substantial portions of the Software.
14 | #
15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | # THE SOFTWARE.
22 |
23 | Display\ name=\u540d\u79f0
24 | Background\ Colors=\u80cc\u666f\u8272
25 | Success\ Color=\u6210\u529f\u306e\u8272
26 | Failure\ Color=\u5931\u6557\u306e\u8272
27 | Skipped\ Color=\u30b9\u30ad\u30c3\u30d7\u306e\u8272
28 | in\ hex=16\u9032\u6570
29 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/Messages_ja.properties:
--------------------------------------------------------------------------------
1 | Dashboard.JobStatistics=\u30b8\u30e7\u30d6\u306e\u7d71\u8a08\u60c5\u5831
2 | Dashboard.BuildStatistics=\u30d3\u30eb\u30c9\u306e\u7d71\u8a08\u60c5\u5831
3 | Dashboard.Success=\u6210\u529f
4 | Dashboard.Skipped=\u30b9\u30ad\u30c3\u30d7
5 | Dashboard.Failed=\u5931\u6557
6 | Dashboard.NoDataAvailable=\u30c7\u30fc\u30bf\u306a\u3057
7 | Dashboard.TestStatisticsChart=\u30c6\u30b9\u30c8\u306e\u7d71\u8a08\u60c5\u5831(\u30b0\u30e9\u30d5)
8 | Dashboard.DisplayName=\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9
9 | Dashboard.LatestBuilds=\u6700\u65b0\u306e\u30d3\u30eb\u30c9
10 | Dashboard.JenkinsJobsList=Jenkins\u30b8\u30e7\u30d6\u30ea\u30b9\u30c8
11 | Dashboard.JobsGrid=\u30b8\u30e7\u30d6\u30b0\u30ea\u30c3\u30c9
12 | Dashboard.UnstableJobs=\u4e0d\u5b89\u5b9a\u30d3\u30eb\u30c9
13 | Dashboard.NoRecentBuildsFailed=\u6700\u8fd1\u306e\u5931\u6557\u30d3\u30eb\u30c9\u306a\u3057
14 | Dashboard.RecentBuildsFailed={0}-{1}%\u306e\u30d3\u30eb\u30c9\u304c\u5931\u6557
15 | Dashboard.AllRecentBuildsFailed=\u3059\u3079\u3066\u306e\u30d3\u30eb\u30c9\u304c\u5931\u6557
16 | Dashboard.UnknownStatus=\u30b9\u30c6\u30fc\u30bf\u30b9\u4e0d\u660e
17 | Dashboard.TestStatisticsGrid=\u30c6\u30b9\u30c8\u306e\u7d71\u8a08\u60c5\u5831(\u30b0\u30ea\u30c3\u30c9)
18 | Dashboard.TestTrendChart=\u30c6\u30b9\u30c8\u306e\u63a8\u79fb\u30b0\u30e9\u30d5
19 | Dashboard.Total=\u7dcf\u8a08
20 | Dashboard.Date=\u65e5\u4ed8
21 | Dashboard.Count=\u4ef6\u6570
22 | Dashboard.AgentStatistics=\u30b9\u30ec\u30fc\u30d6\u306e\u7d71\u8a08
23 | Dashboard.Image=\u753b\u50cf
24 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/stats/StatBuilds/statbuilds_el.properties:
--------------------------------------------------------------------------------
1 | # The MIT License
2 | #
3 | # Copyright (c) 2004-2010, Sun Microsystems, Inc.
4 | #
5 | # Permission is hereby granted, free of charge, to any person obtaining a copy
6 | # of this software and associated documentation files (the "Software"), to deal
7 | # in the Software without restriction, including without limitation the rights
8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | # copies of the Software, and to permit persons to whom the Software is
10 | # furnished to do so, subject to the following conditions:
11 | #
12 | # The above copyright notice and this permission notice shall be included in
13 | # all copies or substantial portions of the Software.
14 | #
15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | # THE SOFTWARE.
22 |
23 | All\ builds=\u038C\u03BB\u03B1 \u03C4\u03B1 Builds
24 | Status=\u039A\u03B1\u03C3\u03C4\u03AC\u03C3\u03C4\u03B1\u03C3\u03B7
25 | Status\ of\ the\ build=\u039A\u03B1\u03C3\u03C4\u03AC\u03C3\u03C4\u03B1\u03C3\u03B7 Build
26 | Total\ builds=\u03A3\u03CD\u03BD\u03BF\u03BB\u03BF Builds
27 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/stats/StatSlaves/statagents_ja.properties:
--------------------------------------------------------------------------------
1 | # The MIT License
2 | #
3 | # Copyright (c) 2012, Seiji Sogabe
4 | #
5 | # Permission is hereby granted, free of charge, to any person obtaining a copy
6 | # of this software and associated documentation files (the "Software"), to deal
7 | # in the Software without restriction, including without limitation the rights
8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | # copies of the Software, and to permit persons to whom the Software is
10 | # furnished to do so, subject to the following conditions:
11 | #
12 | # The above copyright notice and this permission notice shall be included in
13 | # all copies or substantial portions of the Software.
14 | #
15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | # THE SOFTWARE.
22 |
23 | Agents=\u30b9\u30ec\u30fc\u30d6
24 | Online\ agents=\u30aa\u30f3\u30e9\u30a4\u30f3
25 | Offline\ agents=\u30aa\u30d5\u30e9\u30a4\u30f3
26 | Disconnected\ agents=\u5207\u65ad\u4e2d
27 | Tasks\ in\ queue=\u30ad\u30e5\u30fc\u30a4\u30f3\u30b0\u4e2d
28 | Running\ jobs=\u30b8\u30e7\u30d6\u3092\u5b9f\u884c\u4e2d
29 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/stats/StatJobs/statjobs_ja.properties:
--------------------------------------------------------------------------------
1 | # The MIT License
2 | #
3 | # Copyright (c) 2004-2010, Sun Microsystems, Inc.
4 | #
5 | # Permission is hereby granted, free of charge, to any person obtaining a copy
6 | # of this software and associated documentation files (the "Software"), to deal
7 | # in the Software without restriction, including without limitation the rights
8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | # copies of the Software, and to permit persons to whom the Software is
10 | # furnished to do so, subject to the following conditions:
11 | #
12 | # The above copyright notice and this permission notice shall be included in
13 | # all copies or substantial portions of the Software.
14 | #
15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | # THE SOFTWARE.
22 |
23 | All\ projects=\u5168\u30d7\u30ed\u30b8\u30a7\u30af\u30c8
24 | Description=\u8aac\u660e
25 | Number\ of\ projects=\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u6570
26 | Project\ health=\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u72b6\u614b
27 | Total\ projects=\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u7dcf\u6570
28 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/stats/StatJobs/main.jelly:
--------------------------------------------------------------------------------
1 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/decorate_ja.properties:
--------------------------------------------------------------------------------
1 | # The MIT License
2 | #
3 | # Copyright (c) 2004-2012, Sun Microsystems, Inc., Seiji Sogabe
4 | #
5 | # Permission is hereby granted, free of charge, to any person obtaining a copy
6 | # of this software and associated documentation files (the "Software"), to deal
7 | # in the Software without restriction, including without limitation the rights
8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | # copies of the Software, and to permit persons to whom the Software is
10 | # furnished to do so, subject to the following conditions:
11 | #
12 | # The above copyright notice and this permission notice shall be included in
13 | # all copies or substantial portions of the Software.
14 | #
15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | # THE SOFTWARE.
22 |
23 | Click\ to\ collapse\ portlet=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u3092\u9589\u3058\u308b
24 | Click\ to\ expand\ portlet=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u3092\u958b\u304f
25 | Click\ to\ show\ full-screen\ portlet=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u3092\u30d5\u30eb\u30b9\u30af\u30ea\u30fc\u30f3\u3067\u8868\u793a
26 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/stats/StatBuilds/main.jelly:
--------------------------------------------------------------------------------
1 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/stats/StatBuilds/statbuilds_ja.properties:
--------------------------------------------------------------------------------
1 | # The MIT License
2 | #
3 | # Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Seiji Sogabe
4 | #
5 | # Permission is hereby granted, free of charge, to any person obtaining a copy
6 | # of this software and associated documentation files (the "Software"), to deal
7 | # in the Software without restriction, including without limitation the rights
8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | # copies of the Software, and to permit persons to whom the Software is
10 | # furnished to do so, subject to the following conditions:
11 | #
12 | # The above copyright notice and this permission notice shall be included in
13 | # all copies or substantial portions of the Software.
14 | #
15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | # THE SOFTWARE.
22 |
23 | Status\ of\ the\ build=\u30d3\u30eb\u30c9\u30b9\u30c6\u30fc\u30bf\u30b9
24 | Number\ of\ builds\ with\ status=\u4ef6\u6570
25 | All\ builds=\u5168\u30d3\u30eb\u30c9
26 | Status=\u30b9\u30c6\u30fc\u30bf\u30b9
27 | Total\ builds=\u7dcf\u30d3\u30eb\u30c9\u6570
28 | Description=\u8aac\u660e
29 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/DashboardPortlet/config.jelly:
--------------------------------------------------------------------------------
1 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/stats/StatBuilds/portlet.jelly:
--------------------------------------------------------------------------------
1 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/stats/StatJobs/portlet.jelly:
--------------------------------------------------------------------------------
1 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/builds/LatestBuilds/portlet.jelly:
--------------------------------------------------------------------------------
1 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/test/TestStatisticsPortlet/portlet.jelly:
--------------------------------------------------------------------------------
1 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/src/test/resources/hudson/plugins/view/dashboard/casc-export.yml:
--------------------------------------------------------------------------------
1 | dashboard:
2 | bottomPortlets:
3 | - testStatisticsChart:
4 | name: "Test Statistics Chart"
5 | - testStatisticsPortlet:
6 | failureColor: "E86850"
7 | hideZeroTestProjects: false
8 | name: "Test Statistics Grid"
9 | skippedColor: "FDB813"
10 | successColor: "71E66D"
11 | useBackgroundColors: false
12 | - testTrendChart:
13 | dateRange: 0
14 | dateShift: 0
15 | displayStatus: ALL
16 | graphHeight: 220
17 | graphWidth: 300
18 | name: "Test Trend Chart"
19 | columns:
20 | - "status"
21 | - "weather"
22 | - "jobName"
23 | - "lastSuccess"
24 | - "lastFailure"
25 | - "lastDuration"
26 | - "buildButton"
27 | hideJenkinsPanels: true
28 | includeRegex: ".*"
29 | includeStdJobList: true
30 | leftPortlets:
31 | - iframePortlet:
32 | divStyle: "width:100%;height:1000px;"
33 | iframeSource: "test"
34 | name: "Iframe Portlet"
35 | - imagePortlet:
36 | imageUrl: "test"
37 | name: "Image"
38 | name: "test"
39 | recurse: true
40 | rightPortlets:
41 | - hudsonStdJobsPortlet:
42 | name: "Jenkins jobs list"
43 | - statJobs:
44 | name: "Job statistics"
45 | - jobsPortlet:
46 | columnCount: 3
47 | fillColumnFirst: false
48 | name: "Jobs Grid"
49 | - unstableJobsPortlet:
50 | name: "Unstable Jobs"
51 | recurse: false
52 | showOnlyFailedJobs: false
53 | topPortlets:
54 | - statSlaves:
55 | name: "Agent statistics"
56 | - statBuilds:
57 | name: "Build statistics"
58 | - latestBuilds:
59 | name: "Latest builds"
60 | numBuilds: 10
61 | useCssStyle: true
62 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/test/TestTrendChart/main.jelly:
--------------------------------------------------------------------------------
1 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/core/ImagePortlet/config.jelly:
--------------------------------------------------------------------------------
1 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/test/TestStatisticsChart/main.jelly:
--------------------------------------------------------------------------------
1 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/test/TestStatisticsChart/portlet.jelly:
--------------------------------------------------------------------------------
1 |
24 |
25 |
26 |
27 |
28 |
36 |
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/test/TestTrendChart/config_ja.properties:
--------------------------------------------------------------------------------
1 | # The MIT License
2 | #
3 | # Copyright (c) 2004-2012, Sun Microsystems, Inc., Seiji Sogabe
4 | #
5 | # Permission is hereby granted, free of charge, to any person obtaining a copy
6 | # of this software and associated documentation files (the "Software"), to deal
7 | # in the Software without restriction, including without limitation the rights
8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | # copies of the Software, and to permit persons to whom the Software is
10 | # furnished to do so, subject to the following conditions:
11 | #
12 | # The above copyright notice and this permission notice shall be included in
13 | # all copies or substantial portions of the Software.
14 | #
15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | # THE SOFTWARE.
22 |
23 | Graph\ width=\u5e45
24 | Graph\ height=\u9ad8\u3055
25 | Display\ name=\u540d\u79f0
26 | Number\ of\ latest\ days\ to\ display=\u8868\u793a\u65e5\u6570
27 | All\ tests=\u5168\u30c6\u30b9\u30c8
28 | Only\ successful\ tests=\u6210\u529f\u3057\u305f\u30c6\u30b9\u30c8\u306e\u307f
29 | Only\ failed\ tests=\u5931\u6557\u3057\u305f\u30c6\u30b9\u30c8\u306e\u307f
30 | Only\ skipped\ tests=\u30b9\u30ad\u30c3\u30d7\u3057\u305f\u30c6\u30b9\u30c8\u306e\u307f
31 | Display=\u8868\u793a\u5bfe\u8c61
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/test/TestTrendChart/portlet.jelly:
--------------------------------------------------------------------------------
1 |
24 |
25 |
26 |
27 |
28 |
42 |
43 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/Dashboard/configure-entries_fr.properties:
--------------------------------------------------------------------------------
1 | # The MIT License
2 | #
3 | # Copyright (c) 2004-2010, Sun Microsystems, Inc.
4 | #
5 | # Permission is hereby granted, free of charge, to any person obtaining a copy
6 | # of this software and associated documentation files (the "Software"), to deal
7 | # in the Software without restriction, including without limitation the rights
8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | # copies of the Software, and to permit persons to whom the Software is
10 | # furnished to do so, subject to the following conditions:
11 | #
12 | # The above copyright notice and this permission notice shall be included in
13 | # all copies or substantial portions of the Software.
14 | #
15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | # THE SOFTWARE.
22 |
23 | Add\ Dashboard\ Portlet\ to\ bottom\ of\ the\ view=Ajouter un Portlet en bas de la vue
24 | Add\ Dashboard\ Portlet\ to\ left\ column=Ajouter la Portlet Dashboard \u00E0 la colonne de gauche
25 | Add\ Dashboard\ Portlet\ to\ right\ column=Ajouter la Portlet Dashboard \u00E0 la colonne de droite
26 | Add\ Dashboard\ Portlet\ to\ the\ top\ of\ the\ view=Ajouter un Portlets en haut de la vue
27 | Portlets\ at\ the\ bottom\ of\ the\ page=Portlets du bas
28 | Dashboard\ Portlets=Dashboard Portlets
29 | Exclude\ disabled\ jobs=Ex\u00E9cuter les travaux d\u00E9sactiv\u00E9s
30 | Jobs=Travaux
31 | Portlets\ in\ the\ left\ column=Colonne de gauche
32 | Regular\ expression=Expression r\u00E9guli\u00E8re
33 | Portlets\ in\ the\ right\ column=Colonne de droite
34 | Show\ standard\ Jenkins\ list\ at\ the\ top\ of\ the\ page=Montrer la liste Jenkins standard en haut de la page
35 | Portlets\ at\ the\ top\ of\ the\ page=Portels Hautes
36 | Use\ a\ regular\ expression\ to\ include\ jobs\ into\ the\ view=Utiliser une expression r\u00E9guli\u00E8re pour inclure les travaux dans la vue
37 |
--------------------------------------------------------------------------------
/src/main/java/hudson/plugins/view/dashboard/DashboardPortlet.java:
--------------------------------------------------------------------------------
1 | package hudson.plugins.view.dashboard;
2 |
3 | import hudson.DescriptorExtensionList;
4 | import hudson.ExtensionPoint;
5 | import hudson.model.Describable;
6 | import hudson.model.Descriptor;
7 | import hudson.model.ModelObject;
8 | import hudson.model.TopLevelItem;
9 | import java.util.Comparator;
10 | import jenkins.model.Jenkins;
11 | import org.kohsuke.stapler.Stapler;
12 | import org.kohsuke.stapler.StaplerRequest2;
13 |
14 | /**
15 | * Report that can summarize project data across multiple projects and display the resulting data.
16 | *
17 | * @author Peter Hayes
18 | */
19 | public abstract class DashboardPortlet implements ModelObject, Describable, ExtensionPoint {
20 |
21 | private final String name;
22 |
23 | public DashboardPortlet(String name) {
24 | this.name = name;
25 | }
26 |
27 | public String getId() {
28 | return "portlet-" + getDashboard().getPortletUrl(this).replace('/', '-');
29 | }
30 |
31 | public String getName() {
32 | return name;
33 | }
34 |
35 | public Dashboard getDashboard() {
36 | // TODO Can the dashboard instance be a field on this class -- parent?
37 | StaplerRequest2 req = Stapler.getCurrentRequest2();
38 | return req != null ? req.findAncestorObject(Dashboard.class) : null;
39 | }
40 |
41 | @Override
42 | public String getDisplayName() {
43 | return getName();
44 | }
45 |
46 | public String getUrl() {
47 | return getDashboard().getPortletUrl(this) + '/';
48 | }
49 |
50 | /** Support accessing jobs available via view through portlets */
51 | public TopLevelItem getJob(String name) {
52 | return getDashboard().getJob(name);
53 | }
54 |
55 | @Override
56 | public Descriptor getDescriptor() {
57 | return (Descriptor) Jenkins.get().getDescriptor(getClass());
58 | }
59 |
60 | /** Returns all the registered {@link DashboardPortlet} descriptors. */
61 | public static DescriptorExtensionList> all() {
62 | return Jenkins.get().getDescriptorList(DashboardPortlet.class);
63 | }
64 |
65 | public static Comparator getComparator() {
66 | return (Comparator) (p1, p2) -> p1.getDescription().compareTo(p2.getDescription());
67 | }
68 | }
69 |
--------------------------------------------------------------------------------
/src/main/resources/hudson/plugins/view/dashboard/decorate-table.jelly:
--------------------------------------------------------------------------------
1 |
24 |
25 |
28 |
29 |
31 | definition here.
35 | ]]>
36 |
37 | The portlet being rendered
38 |
39 |
40 | Unused
41 |
42 |
43 | Additional classes applied to the table
44 |
45 |
46 |