jobs.<job_id>.timeout-minutes

1 minute read

Use jobs.<job_id>.timeout-minutes to set the maximum number of minutes to run a job before CloudBees automatically cancels the job. The job execution time limit value is 360 minutes.

If the timeout value timeout exceeds the job execution time limit for the runner, the job is canceled when the job execution time limit is met instead.

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.