This repository has been archived by the owner on Apr 6, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #122 from pjdarton/hide-details-by-default
[FIXED JENKINS-51336] Hide parser details by default
- Loading branch information
Showing
4 changed files
with
71 additions
and
44 deletions.
There are no files selected for viewing
75 changes: 49 additions & 26 deletions
75
src/main/resources/hudson/plugins/warnings/GroovyParser/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,27 +1,50 @@ | ||
<?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:entry field="name" title="${%Name}" description="${%name.description}"> | ||
<f:textbox /> | ||
</f:entry> | ||
<f:entry field="linkName" title="${%Link name}" description="${%linkName.description}"> | ||
<f:textbox /> | ||
</f:entry> | ||
<f:entry field="trendName" title="${%Trend report name}" description="${%trendName.description}"> | ||
<f:textbox /> | ||
</f:entry> | ||
<f:entry field="regexp" title="${%Regular Expression}" description="${%regexp.description}"> | ||
<f:textbox /> | ||
</f:entry> | ||
<f:entry field="script" title="${%Mapping Script}" description="${%script.description}"> | ||
<f:textarea /> | ||
</f:entry> | ||
<f:entry field="example" title="${%Example Log Message}" description="${%example.description}"> | ||
<f:textarea /> | ||
</f:entry> | ||
<f:entry title=""> | ||
<div align="right"> | ||
<f:repeatableDeleteButton /> | ||
</div> | ||
</f:entry> | ||
</j:jelly> | ||
<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:entry field="name" title="${%Name}" description="${%name.description}"> | ||
<f:textbox /> | ||
</f:entry> | ||
<j:choose> | ||
<j:when test="${!instance.valid}"> | ||
<f:entry field="linkName" title="${%Link name}" description="${%linkName.description}"> | ||
<f:textbox /> | ||
</f:entry> | ||
<f:entry field="trendName" title="${%Trend report name}" description="${%trendName.description}"> | ||
<f:textbox /> | ||
</f:entry> | ||
<f:entry field="regexp" title="${%Regular Expression}" description="${%regexp.description}"> | ||
<f:textbox /> | ||
</f:entry> | ||
<f:entry field="script" title="${%Mapping Script}" description="${%script.description}"> | ||
<f:textarea /> | ||
</f:entry> | ||
<f:entry field="example" title="${%Example Log Message}" description="${%example.description}"> | ||
<f:textarea /> | ||
</f:entry> | ||
</j:when> | ||
<j:otherwise> | ||
<f:advanced title="${%Details}" align="left"> | ||
<f:entry field="linkName" title="${%Link name}" description="${%linkName.description}"> | ||
<f:textbox /> | ||
</f:entry> | ||
<f:entry field="trendName" title="${%Trend report name}" description="${%trendName.description}"> | ||
<f:textbox /> | ||
</f:entry> | ||
<f:entry field="regexp" title="${%Regular Expression}" description="${%regexp.description}"> | ||
<f:textbox /> | ||
</f:entry> | ||
<f:entry field="script" title="${%Mapping Script}" description="${%script.description}"> | ||
<f:textarea /> | ||
</f:entry> | ||
<f:entry field="example" title="${%Example Log Message}" description="${%example.description}"> | ||
<f:textarea /> | ||
</f:entry> | ||
</f:advanced> | ||
</j:otherwise> | ||
</j:choose> | ||
<f:entry title=""> | ||
<div align="right"> | ||
<f:repeatableDeleteButton /> | ||
</div> | ||
</f:entry> | ||
</j: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
1 change: 1 addition & 0 deletions
1
src/main/resources/hudson/plugins/warnings/GroovyParser/config_ja.properties
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
38 changes: 20 additions & 18 deletions
38
src/main/resources/hudson/plugins/warnings/WarningsPublisher/global.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,18 +1,20 @@ | ||
<?jelly escape-by-default='true'?> | ||
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:u="/util" | ||
xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form"> | ||
<f:section title="${%Compiler Warnings}"> | ||
<j:choose> | ||
<j:when test="${descriptor.canEditParsers()}"> | ||
<f:entry title="${%Parsers}" description="${%title.description}"> | ||
<u:repeatable field="parsers"/> | ||
</f:entry> | ||
</j:when> | ||
<j:otherwise> | ||
<f:block> | ||
You have no permission to edit Groovy parsers (required permission: RUN_SCRIPTS). | ||
</f:block> | ||
</j:otherwise> | ||
</j:choose> | ||
</f:section> | ||
</j:jelly> | ||
<?jelly escape-by-default='true'?> | ||
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:u="/util" | ||
xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form"> | ||
<f:section title="${%Compiler Warnings}"> | ||
<j:choose> | ||
<j:when test="${descriptor.canEditParsers()}"> | ||
<f:advanced title="${%Parsers}" align="left"> | ||
<f:entry title="${%Parsers}" description="${%title.description}"> | ||
<u:repeatable field="parsers"/> | ||
</f:entry> | ||
</f:advanced> | ||
</j:when> | ||
<j:otherwise> | ||
<f:block> | ||
You have no permission to edit Groovy parsers (required permission: RUN_SCRIPTS). | ||
</f:block> | ||
</j:otherwise> | ||
</j:choose> | ||
</f:section> | ||
</j:jelly> |