blob: 147b32b80dca7f96fde5e9df97c3cd28ab2fa70e [file] [log] [blame]
Pavel Cizinskyd2005742019-03-19 14:50:42 +01001parameters:
2 jenkins:
3 client:
4 job:
5 backupninja_backup:
6 type: workflow-scm
7 name: backupninja-backup
8 display_name: "Backupninja salt-master/MaaS backup"
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 Berezovskiy76889ed2019-07-08 19:31:50 +040017 credentials: "${_param:jenkins_gerrit_credentials}"
Pavel Cizinskyd2005742019-03-19 14:50:42 +010018 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 Egorenko8b18dab2019-07-25 18:03:06 +040026 ASK_CONFIRMATION:
27 type: boolean
28 default: 'true'
Martin Polreich1d2b2e62019-08-01 12:35:00 +020029 trigger:
30 timer:
31 enabled: true
32 spec: "${_param:backup_min} ${_param:backup_hour} ${_param:backup_day_of_month} ${_param:backup_month} ${_param:backup_day_of_week}"