jobs.<job_id>.timeout-minutes

1 minute read

Use jobs.<job_id>.timeout-minutes to set the number of minutes a job runs before the CloudBees platform automatically cancels the job.

The total time allowed for a workflow run is 5760 minutes (4 days). All jobs and approvals must be completed within this time.
Table 1. timeout values

Job type

Maximum time allowed

Default value

Standard

180 minutes (3 hours)

60 minutes (1 hour)

Custom

4320 minutes (3 days)

4320 minutes (3 days)

The cloudbees.scm.token is issued when the workflow is scheduled, and some SCM systems limit the token validity to 1 hour. For this reason, CloudBees strongly recommends using CloudBees action: Configure Git global credentials to request a live token.