title: Add minutes to current time in Jenkins pipeline (declarative syntax)
body: <p>Jenkins pipeline code.
  Declarative syntax.</p>
  
  <p>I need to get formatted date string for current datetime + 5 minutes.
  I can get formatted current datetime with this:</p>
  
  <pre><code>import java.text.SimpleDateFormat
  def dateFormat
  def date
  def formattedDate
  ...
  script {
      dateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss")
      date = new Date()
      formattedDate = dateFormat.format(date)
  }
  echo formattedDate
  ...
  </code></pre>
  
  <p>How can i add 5 minutes to date? I've tried use TimeCategory or Calendar, but unsuccessfully</p>