Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The failure analyzer plugin field to display setting is not reset by accident when opening the view settings #330

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public String currentOrder() {
}

@SuppressWarnings("unused") // used in the configure-entries.jelly form
public String currentbuildFailureAnalyzerDisplayedField() {
public String currentBuildFailureAnalyzerDisplayedField() {
return currentConfig().getBuildFailureAnalyzerDisplayedField().getValue();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ public String toString() {
// --

public enum BuildFailureAnalyzerDisplayedField {
Name("name"),
Description("description"),
None("none");
Name("Name"),
Description("Description"),
None("None");

private final String value;
BuildFailureAnalyzerDisplayedField(String value) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@

<f:entry title="${%Failure Analyzer Plugin: Field to display}" help="${descriptor.getHelpFile('buildFailureAnalyzerDisplayedField')}">
<select name="buildFailureAnalyzerDisplayedField" class="setting-input">
<f:option value="Name" selected="${it.currentbuildFailureAnalyzerDisplayedField()=='Name'}">${%Name}</f:option>
<f:option value="Description" selected="${it.currentbuildFailureAnalyzerDisplayedField()=='Description'}">${%Description}</f:option>
<f:option value="None" selected="${it.currentbuildFailureAnalyzerDisplayedField()=='None'}">${%None}</f:option>
<f:option value="Name" selected="${it.currentBuildFailureAnalyzerDisplayedField()=='Name'}">${%Name}</f:option>
<f:option value="Description" selected="${it.currentBuildFailureAnalyzerDisplayedField()=='Description'}">${%Description}</f:option>
<f:option value="None" selected="${it.currentBuildFailureAnalyzerDisplayedField()=='None'}">${%None}</f:option>
</select>
</f:entry>

Expand Down