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" |
| 20 | credentials: "gerrit" |
| 21 | script: docker-cleanup-pipeline.groovy |
| 22 | trigger: |
| 23 | timer: |
| 24 | spec: "H H * * *" |
| 25 | param: |
| 26 | SALT_MASTER_URL: |
| 27 | type: string |
| 28 | default: "${_param:jenkins_salt_api_url}" |
| 29 | SALT_MASTER_CREDENTIALS: |
| 30 | type: string |
| 31 | default: "salt" |
| 32 | TEST_DATE_STRING: |
| 33 | type: string |
| 34 | default: "yesterday" |
| 35 | description: "Date string for comparison determining deletion of docker container" |