title: How do I run a Jenkins job where user can enter a date value?
body: <p>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 <a href="https://jenkinsci.github.io/job-dsl-plugin/#method/javaposse.jobdsl.dsl.helpers.BuildParametersContext.stringParam" rel="nofollow noreferrer">string parameter:</a></p>
  
  <blockquote>
  <pre><code>job('example') {
      parameters {
          stringParam('myParameterName', 'my default stringParam value', 'my description')
      }
  }
  </code></pre>
  </blockquote>
  
  <p>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 ? </p>