blob: e1bdcd13a1acf25c8216a8477051b0275d7e7ae2 [file] [log] [blame]
Jakub Josefb27dc112017-08-14 16:22:39 +02001parameters:
2 _param:
3 jenkins_salt_api_url: "http://${_param:salt_master_host}:6969"
4 jenkins_salt_model_name: "salt"
5 jenkins:
6 client:
7 job:
8 docker-cleanup-pipeline:
9 name: docker-cleanup
10 discard:
11 build:
12 keep_num: 3
13 artifact:
14 keep_num: 3
15 type: workflow-scm
16 concurrent: true
17 scm:
18 type: git
19 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +010020 branch: "${_param:jenkins_pipelines_branch}"
Jakub Josefb27dc112017-08-14 16:22:39 +020021 credentials: "gerrit"
22 script: docker-cleanup-pipeline.groovy
23 trigger:
24 timer:
25 spec: "H H * * *"
26 param:
27 SALT_MASTER_URL:
28 type: string
29 default: "${_param:jenkins_salt_api_url}"
30 SALT_MASTER_CREDENTIALS:
31 type: string
32 default: "salt"
33 TEST_DATE_STRING:
34 type: string
35 default: "yesterday"
36 description: "Date string for comparison determining deletion of docker container"