Skip to content
Permalink
Browse files

[FIXED JENKINS-6446] Modified the global config view of unit tests so…

… that it will be displayed in a separate table rather than using a top level title
  • Loading branch information...
lkamal committed Oct 29, 2013
1 parent 626af1c commit 57b43778dfffa7b1dec25dcb6123b40c2993e195
Showing with 29 additions and 27 deletions.
  1. +29 −27 src/main/resources/hudson/plugins/cigame/GamePublisher/global.jelly
@@ -1,30 +1,32 @@
<?jelly escape-by-default='true'?>
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form">
<f:section title="${%cigame.title}">
<f:entry title="${%cigame.namesarecasesensitive}" help="/plugin/ci-game/namesarecasesensitive.html">
<f:checkbox field="namesAreCaseSensitive"/>
</f:entry>
</f:section>
<f:section title="${%cigame.title} - ${%cigame.unittests.subtitle}">
<f:advanced>
<f:entry title="${%cigame.unittests.marksForIncreasingPassedTestsByOne}" field="passedTestIncreasingPoints">
<f:textbox/>
</f:entry>
<f:entry title="${%cigame.unittests.marksForDecreasingPassedTestsByOne}" field="passedTestDecreasingPoints">
<f:textbox/>
</f:entry>
<f:entry title="${%cigame.unittests.marksForIncreasingFailedTestsByOne}" field="failedTestIncreasingPoints">
<f:textbox/>
</f:entry>
<f:entry title="${%cigame.unittests.marksForDecreasingFailedTestsByOne}" field="failedTestDecreasingPoints">
<f:textbox/>
</f:entry>
<f:entry title="${%cigame.unittests.marksForIncreasingSkippedTestsByOne}" field="skippedTestIncreasingPoints">
<f:textbox/>
</f:entry>
<f:entry title="${%cigame.unittests.marksForDecreasingSkippedTestsByOne}" field="skippedTestDecreasingPoints">
<f:textbox/>
</f:entry>
</f:advanced>
</f:section>
<f:section title="${%cigame.title}">
<f:entry title="${%cigame.namesarecasesensitive}" help="/plugin/ci-game/namesarecasesensitive.html">
<f:checkbox field="namesAreCaseSensitive" />
</f:entry>
<f:advanced title="${%cigame.unittests.subtitle}">
<f:entry title="${%cigame.unittests.subtitle}">
<table width="100%" style="border: 1px solid #aaa">
<f:entry title="${%cigame.unittests.marksForIncreasingPassedTestsByOne}" field="passedTestIncreasingPoints">
<f:textbox />
</f:entry>
<f:entry title="${%cigame.unittests.marksForDecreasingPassedTestsByOne}" field="passedTestDecreasingPoints">
<f:textbox />
</f:entry>
<f:entry title="${%cigame.unittests.marksForIncreasingFailedTestsByOne}" field="failedTestIncreasingPoints">
<f:textbox />
</f:entry>
<f:entry title="${%cigame.unittests.marksForDecreasingFailedTestsByOne}" field="failedTestDecreasingPoints">
<f:textbox />
</f:entry>
<f:entry title="${%cigame.unittests.marksForIncreasingSkippedTestsByOne}" field="skippedTestIncreasingPoints">
<f:textbox />
</f:entry>
<f:entry title="${%cigame.unittests.marksForDecreasingSkippedTestsByOne}" field="skippedTestDecreasingPoints">
<f:textbox />
</f:entry>
</table>
</f:entry>
</f:advanced>
</f:section>
</j:jelly>

0 comments on commit 57b4377

Please sign in to comment.
You can’t perform that action at this time.