blob: cc69c6b43289979bb99f80f0813dcf3298a14bf5 [file] [log] [blame]
parameters:
jenkins:
client:
job:
kill-stuck-jobs:
name: kill-stuck-jobs
discard:
build:
keep_num: 3
artifact:
keep_num: 3
type: workflow-scm
concurrent: true
scm:
type: git
url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
branch: "${_param:jenkins_pipelines_branch}"
credentials: "gerrit"
script: abort-long-running-jobs.groovy
trigger:
timer:
spec: "H H * * *"
param:
MAX_DURATION_IN_HOURS:
type: string
default: "24"