blob: e798e64044924f48ced5c55275fea32f03cfb498 [file] [log] [blame]
Pavel Cizinskye5c0d6e2019-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}"
17 credentials: "gerrit"
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}"
26 triggers:
27 - timed: "${_param:backup_min} ${_param:backup_hour} ${_param:backup_day_of_month} ${_param:backup_month} ${_param:backup_day_of_week}"