How do I run a Jenkins job where user can enter a date value?
I wanted to run a jenkins job by accepting a date field (in format YYYY-MM-DD) from user. I found a link where user can enter a string parameter: job('example') { parameters { stringParam('myParameterName', 'my default stringParam value', 'my description') } } But in string param user can enter any thing. So how do I force user to enter a date field like a calender field and select date from the calender ? daspilker There seems to be no plugin which provides a date chooser. But you can use the Validating String Parameter Plugin , which can use a regular expression to validate a string