Jakub Josef | b27dc11 | 2017-08-14 16:22:39 +0200 | [diff] [blame] | 1 | parameters: |
| 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 Josef | 7938b53 | 2017-12-12 18:02:03 +0100 | [diff] [blame] | 20 | branch: "${_param:jenkins_pipelines_branch}" |
Jakub Josef | b27dc11 | 2017-08-14 16:22:39 +0200 | [diff] [blame] | 21 | 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" |