Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Gregory
authored and
Gregory
committed
Sep 28, 2011
1 parent
6f20b56
commit 98289b4
Showing
5 changed files
with
53 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 19 additions & 14 deletions
33
src/main/resources/org/jenkinsci/plugins/cppcheck/CppcheckPublisher/config.jelly
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,28 @@ | ||
<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" xmlns:u="/util"> | ||
|
||
<j:set var="config" value="${instance.cppcheckConfig}"/> | ||
<j:if test="${config == null}"> | ||
<j:set var="config" value="${descriptor.config}"/> | ||
</j:if> | ||
<j:set var="config" value="${instance.cppcheckConfig}"/> | ||
<j:if test="${config == null}"> | ||
<j:set var="config" value="${descriptor.config}"/> | ||
</j:if> | ||
|
||
<f:entry title="${%Cppcheck report XMLs}" | ||
description="${%description.pattern('http://ant.apache.org/manual/Types/fileset.html')}"> | ||
<f:textbox name="cppcheckReportPattern" value="${config.cppcheckReportPattern}"/> | ||
</f:entry> | ||
<f:entry title="${%Cppcheck report XMLs}" | ||
description="${%description.pattern('http://ant.apache.org/manual/Types/fileset.html')}"> | ||
<f:textbox name="cppcheck.pattern" value="${config.pattern}"/> | ||
</f:entry> | ||
|
||
<f:entry> | ||
<f:checkbox name="ignoreBlankFiles" value="${config.ignoreBlankFiles}"/> | ||
<label>Ignore blank files</label> | ||
</f:entry> | ||
<f:entry> | ||
<f:checkbox name="cppcheck.useWorkspaceAsRootPath" checked="${config.useWorkspaceAsRootPath}"/> | ||
<label>${%Use the workspace as root path to look for reports}</label> | ||
</f:entry> | ||
|
||
<f:advanced> | ||
<f:entry> | ||
<f:checkbox name="cppcheck.ignoreBlankFiles" checked="${config.ignoreBlankFiles}"/> | ||
<label>${%Ignore blank files}</label> | ||
</f:entry> | ||
|
||
<f:advanced> | ||
<u:thresholds id="cppcheck"/> | ||
</f:advanced> | ||
</f:advanced> | ||
|
||
</j:jelly> |