Pavel Cizinsky | d200574 | 2019-03-19 14:50:42 +0100 | [diff] [blame] | 1 | parameters: |
| 2 | jenkins: |
| 3 | client: |
| 4 | job: |
| 5 | backupninja_backup: |
| 6 | type: workflow-scm |
| 7 | name: backupninja-backup |
Martin Polreich | b0ca043 | 2019-10-04 11:08:17 +0200 | [diff] [blame] | 8 | display_name: "Backupninja backup pipeline" |
Pavel Cizinsky | d200574 | 2019-03-19 14:50:42 +0100 | [diff] [blame] | 9 | discard: |
| 10 | build: |
| 11 | keep_num: 50 |
| 12 | concurrent: true |
| 13 | scm: |
| 14 | type: git |
| 15 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 16 | branch: "${_param:jenkins_pipelines_branch}" |
Ivan Berezovskiy | 76889ed | 2019-07-08 19:31:50 +0400 | [diff] [blame] | 17 | credentials: "${_param:jenkins_gerrit_credentials}" |
Pavel Cizinsky | d200574 | 2019-03-19 14:50:42 +0100 | [diff] [blame] | 18 | script: backupninja-backup-pipeline.groovy |
| 19 | param: |
| 20 | SALT_MASTER_CREDENTIALS: |
| 21 | type: string |
| 22 | default: "salt" |
| 23 | SALT_MASTER_URL: |
| 24 | type: string |
| 25 | default: "${_param:jenkins_salt_api_url}" |
Denis Egorenko | 8b18dab | 2019-07-25 18:03:06 +0400 | [diff] [blame] | 26 | ASK_CONFIRMATION: |
| 27 | type: boolean |
| 28 | default: 'true' |
Martin Polreich | de9f8f8 | 2019-08-27 13:40:55 +0200 | [diff] [blame] | 29 | BACKUP_SALTMASTER_AND_MAAS: |
| 30 | type: boolean |
| 31 | default: 'true' |
| 32 | BACKUP_DOGTAG: |
| 33 | type: boolean |
| 34 | default: 'true' |
Martin Polreich | 1d2b2e6 | 2019-08-01 12:35:00 +0200 | [diff] [blame] | 35 | trigger: |
| 36 | timer: |
| 37 | enabled: true |
| 38 | spec: "${_param:backup_min} ${_param:backup_hour} ${_param:backup_day_of_month} ${_param:backup_month} ${_param:backup_day_of_week}" |