title: Is it possible to pause a stage until a time is reached in a Jenkins declarative pipeline?
body: <p>I have a requirement to only allow deployments to production in a specific time range, e.g.: between 04:00 and 06:00.</p>
  
  <p>My Jenkins pipeline is triggered by a Git webhook and starts a flow consisting of the usual stages (Build, Test, Deploy Dev, Deploy Pre, Deploy Pro).</p>
  
  <p>When we reach the Deploy Pro stage I would need to check whether the current time is in the allows range to go on. Otherwise I need to pause the pipeline (<strong>freeing the Jenkins agent</strong>) until that time range is reached.</p>
  
  <p>Is is possible to implement this? How?</p>