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" | ||||
17 | credentials: "gerrit" | ||||
18 | script: abort-long-running-jobs.groovy | ||||
19 | trigger: | ||||
20 | timer: | ||||
21 | spec: "H H * * *" | ||||
22 | param: | ||||
23 | MAX_DURATION_IN_HOURS: | ||||
24 | type: string | ||||
25 | default: "24" |