Skip to content

jobNameReplaceRegExpPattern is not changed if jobNameReplaceRegExp is changed #19

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
7 changes: 4 additions & 3 deletions src/main/java/maps/hudson/plugin/xfpanel/XFPanelView.java
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ protected enum Blame { NOTATALL, ONLYLASTFAILEDBUILD, ONLYFIRSTFAILEDBUILD, EVER
private String otherBuildColor = "#CCCCCC";
private String buildFontColor = "#FFFFFF";

private String jobNameReplaceRegExp;
private String jobNameReplaceRegExp;
private String jobNameReplacement;
private Pattern jobNameReplaceRegExpPattern;

Expand Down Expand Up @@ -163,7 +163,7 @@ public Boolean getShowDescription() {
}
return this.showDescription;
}

public Boolean getShowBrokenBuildCount() {
if (this.showBrokenBuildCount == null) {
this.showBrokenBuildCount = Boolean.FALSE;;
Expand Down Expand Up @@ -531,9 +531,10 @@ else if (blameType.equals("blame.onlyLastFailedBuild")) {
else if (blameType.equals("blame.everyInvolved")) {
this.BlameState = Blame.EVERYINVOLVED;
}

this.jobNameReplaceRegExp = req.getParameter("jobNameReplaceRegExp");
this.jobNameReplacement = req.getParameter("jobNameReplacement");

this.jobNameReplaceRegExpPattern = null;
}

private Integer asInteger(StaplerRequest request, String parameterName) throws FormException {
Expand Down