Jakub Josef | 5ecfc52 | 2017-03-21 12:25:15 +0100 | [diff] [blame] | 1 | parameters: |
2 | jenkins: | ||||
3 | client: | ||||
4 | job: | ||||
5 | kill-stuck-jobs: | ||||
6 | name: kill-stuck-jobs | ||||
7 | discard: | ||||
8 | build: | ||||
9 | keep_num: 3 | ||||
10 | artifact: | ||||
11 | keep_num: 3 | ||||
12 | type: workflow-scm | ||||
13 | concurrent: true | ||||
14 | scm: | ||||
15 | type: git | ||||
16 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" | ||||
Jakub Josef | 7938b53 | 2017-12-12 18:02:03 +0100 | [diff] [blame] | 17 | branch: "${_param:jenkins_pipelines_branch}" |
Jakub Josef | 5ecfc52 | 2017-03-21 12:25:15 +0100 | [diff] [blame] | 18 | credentials: "gerrit" |
19 | script: abort-long-running-jobs.groovy | ||||
20 | trigger: | ||||
21 | timer: | ||||
22 | spec: "H H * * *" | ||||
23 | param: | ||||
24 | MAX_DURATION_IN_HOURS: | ||||
25 | type: string | ||||
26 | default: "24" |