Skip to content

Allow timeout property to be provided per-build

Fabio Pitino requested to merge skycocker-ms-build_specific_timeout into master

What does this MR do?

This is a community contribution take over from https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/17534. It enabled users to specify timeout: per job in .gitlab-ci.yml file. This will override the project-level build timeout.

Issue: https://gitlab.com/gitlab-org/gitlab-ee/issues/14887

Does this MR meet the acceptance criteria?

Conformity

Usage

run-sleep:
  script:
    - echo 'sleeping...'
    - sleep 60
    - echo 'test'
    - sleep 120
    - echo 'should not print this'
    - sleep 120
    - echo 'should not print this'
  timeout: 120

image

Edited by Fabio Pitino

Merge request reports