Skip to content

Commit

Permalink
Merge pull request jenkinsci#217 from jenkinsci/config
Browse files Browse the repository at this point in the history
Config version fix
  • Loading branch information
DavidTanner committed Oct 14, 2015
2 parents 05bb5eb + d93a7a3 commit 0e91274
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public GhprbTrigger(String adminlist,
this.allowMembersOfWhitelistedOrgsAsAdmin = allowMembersOfWhitelistedOrgsAsAdmin;
this.buildDescTemplate = buildDescTemplate;
setExtensions(extensions);
configVersion = 1;
configVersion = latestVersion;
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ public abstract class GhprbTriggerBackwardsCompatible extends Trigger<AbstractPr

public abstract DescribableList<GhprbExtension, GhprbExtensionDescriptor> getExtensions();

protected final int latestVersion = 3;


protected String triggerPhrase;
protected Integer configVersion;
Expand Down Expand Up @@ -58,7 +60,7 @@ protected void convertPropertiesToExtensions() {
checkBuildStatusMessages();
checkCommitStatusContext();

configVersion = 3;
configVersion = latestVersion;
}

private void checkBuildStatusMessages() {
Expand Down

0 comments on commit 0e91274

Please sign in to comment.