We have a need to start particular Task at given time. But the problem is that the time to start the task is calculated/set during the release, so we need to be able to start this particular task at calculated datetime.

Our Current workaround is to dynamically create a new task and wait (block release).

Use Case: We have implemented "continuous deployment" (with unattended deployments) where the deployment time is set to the hours when the operations people are available (in case something goes wrong)

Comments

  • If you want to start tasks at a certain time of the day, let's say "Deploy at 10" you can do the following.

    * On the template, check that the start time has some date, for example April 1st at 09:00.
    * In the template task "Deploy at 10", under Scheduling, put the hour you want it start, relative to the start time of the template. In our example this would be April 1st, 10:00
    * Check "Wait for the start date"
    * When starting the release, make sure that it has the current date, but put the start time at 09:00. For example September 18, 09:00
    * On the release, the dates will be recalculated and the "Deploy at 10:00" task will wait until 10:00

    Let me know if this is helpful and fits your use case.

    Kind regards,

    Hes Siemelink