Skip to content
Permalink
Browse files
[FIXED JENKINS-40113] sematic-versioning-plugin causes dashboard to biff
  • Loading branch information
stephenc committed Jan 6, 2017
1 parent 97b5282 commit 3ab89b6af9ddfdbc45bd3878094e13fdf5719705
@@ -83,7 +83,7 @@ public SemanticVersionColumnDescriptor() {

@Override
public ListViewColumn newInstance(StaplerRequest req, JSONObject formData) throws FormException {
String strategy = formData == null ? LastSuccessfulBuildStrategy.class.getCanonicalName() : formData.getString("displayStrategy");
String strategy = formData == null ? LastSuccessfulBuildStrategy.class.getCanonicalName() : formData.optString("displayStrategy");
return new SemanticVersionColumn(strategy);
}

0 comments on commit 3ab89b6

Please sign in to comment.