Skip to content
Permalink
Browse files

[JENKINS-19688] Fixed cron time validation. (#26)

  • Loading branch information...
Jochen-A-Fuerbacher committed Jun 8, 2018
1 parent 4c848d0 commit fbfaaecf9bab810201d8064861dfc5fcb322664e
@@ -149,7 +149,7 @@ public boolean configure(StaplerRequest req, JSONObject json)
public FormValidation doCheckCronTime(@QueryParameter String value)
throws ANTLRException, NullPointerException {
try {
new CronTab(value);
new CronTab(value.trim());
return FormValidation.ok();
} catch (ANTLRException e) {
return FormValidation.error(

0 comments on commit fbfaaec

Please sign in to comment.
You can’t perform that action at this time.