blob: 1974954755185be71db8df748eacd4f3fc97ec59 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
---
- parameter:
name: 'laas-dashboard-defaults'
parameters:
- label:
name: SLAVE_LABEL
default: 'laas-dashboard'
description: 'Slave label on Jenkins'
all-nodes: false
node-eligibility: 'ignore-offline'
- string:
name: GIT_BASE
default: https://gerrit.opnfv.org/gerrit/$PROJECT
description: 'Git URL to use on this Jenkins Slave'
- string:
name: BUILD_DIRECTORY
default: $WORKSPACE/build_output
description: "Directory where the build artifact will be located upon the completion of the build."
- project:
name: laas-dashboard-jobs
project: 'laas'
project-name: 'laas'
stream:
- master
disabled: false
jobs:
- 'laas-dashboard-backup'
- 'laas-dashboard-deploy'
- job-template:
name: 'laas-dashboard-backup'
disabled: '{obj:disabled}'
parameters:
- 'laas-dashboard-defaults'
triggers:
- timed: '@daily'
builders:
- shell:
!include-raw: shell/backup-dashboard.sh
- job-template:
name: 'laas-dashboard-deploy'
disabled: '{obj:disabled}'
parameters:
- project-parameter:
project: '{project}'
branch: 'master'
- 'laas-dashboard-defaults'
scm:
- git-scm-gerrit
triggers:
- gerrit-trigger-change-merged:
branch: 'master'
project: '{project}'
files: 'dashboard/docker-compose.yml'
builders:
- shell:
!include-raw: shell/deploy-dashboard.sh
|