Commit | Line | Data |
---|---|---|
559d9fd4 | 1 | - defaults: |
8a02037b JR |
2 | name: lttng-www |
3 | project-type: freestyle | |
8ae912ac | 4 | node: amd64-rootnode |
8a02037b JR |
5 | |
6 | description: | | |
7 | This job is responsible for updating the lttng website. | |
8 | ||
9 | <p>Job is managed by Jenkins Job Builder.</p> | |
10 | ||
559d9fd4 KS |
11 | scm: |
12 | - git: | |
13 | url: git@git.efficios.com:lttng-www.git | |
14 | credentials-id: 63a5abb5-9056-47e2-b419-f5946c1b8f08 | |
15 | basedir: ./ | |
16 | branches: | |
17 | - master | |
18 | skip-tag: true | |
19 | ||
8a02037b JR |
20 | wrappers: |
21 | - ansicolor | |
22 | - timestamps | |
23 | - credentials-binding: | |
559d9fd4 KS |
24 | - file: |
25 | credential-id: d023f830-9ab0-409f-b977-8cd0e1944dd5 | |
26 | variable: HOST_PUBLIC_KEYS | |
8a02037b JR |
27 | - ssh-user-private-key: |
28 | credential-id: 63a5abb5-9056-47e2-b419-f5946c1b8f08 | |
29 | key-file-variable: KEY_FILE_VARIABLE | |
30 | username-variable: USER_NAME_VARIABLE | |
31 | passphrase-variable: PASSPHRASE_VARIABLE | |
559d9fd4 KS |
32 | - inject: |
33 | properties-content: | | |
34 | DEPLOY_TARGET=deploy:prod | |
35 | ||
32d61c2a JR |
36 | properties: |
37 | - build-discarder: | |
38 | num-to-keep: 5 | |
8a02037b | 39 | |
8a02037b JR |
40 | builders: |
41 | - shell: | |
42 | !include-raw: scripts/lttng-www/deploy.sh | |
43 | ||
559d9fd4 KS |
44 | - job: |
45 | name: dev_review_lttng-www | |
46 | defaults: lttng-www | |
47 | ||
8a02037b | 48 | scm: |
8ae912ac | 49 | - git: |
559d9fd4 KS |
50 | url: ssh://jenkins@review.lttng.org:29418/lttng-www.git |
51 | credentials-id: f3c907b6-7485-49e1-afe1-4df24fac4ca1 | |
8ae912ac | 52 | basedir: ./ |
8ae912ac | 53 | branches: |
559d9fd4 KS |
54 | - '$GERRIT_REFSPEC' |
55 | refspec: 'refs/changes/*:refs/changes/*' | |
56 | skip-tag: true | |
57 | ||
58 | properties: | |
59 | - build-discarder: | |
60 | days-to-keep: 1 | |
61 | - throttle: | |
62 | option: 'category' | |
63 | categories: | |
64 | - 'gerrit-build' | |
65 | ||
66 | triggers: | |
67 | - gerrit: | |
68 | trigger-on: | |
69 | - comment-added-event: | |
70 | approval-category: 'CI-Build' | |
71 | approval-value: 1 | |
72 | projects: | |
73 | - project-compare-type: 'PLAIN' | |
74 | project-pattern: 'lttng-www' | |
75 | branches: | |
76 | - branch-compare-type: 'PLAIN' | |
77 | branch-pattern: 'master' | |
78 | ||
79 | wrappers: | |
80 | - ansicolor | |
81 | - timestamps | |
82 | - credentials-binding: | |
83 | - file: | |
84 | credential-id: d023f830-9ab0-409f-b977-8cd0e1944dd5 | |
85 | variable: HOST_PUBLIC_KEYS | |
86 | - ssh-user-private-key: | |
87 | credential-id: 63a5abb5-9056-47e2-b419-f5946c1b8f08 | |
88 | key-file-variable: KEY_FILE_VARIABLE | |
89 | username-variable: USER_NAME_VARIABLE | |
90 | passphrase-variable: PASSPHRASE_VARIABLE | |
91 | - inject: | |
92 | properties-content: | | |
93 | DEPLOY_TARGET=deploy:preprod | |
94 | ||
95 | - job: | |
96 | name: lttng-www | |
97 | defaults: lttng-www | |
98 | ||
99 | triggers: | |
100 | - timed: '@daily' | |
8a02037b JR |
101 | |
102 | publishers: | |
8ae912ac MJ |
103 | - archive: |
104 | artifacts: 'site/**,prod/**' | |
105 | follow-symlinks: true | |
106 | allow-empty: false | |
ee4b760a MJ |
107 | - ircbot: |
108 | strategy: statechange-only | |
2abd3a64 MJ |
109 | message-type: summary |
110 | matrix-notifier: only-parent | |
8a02037b JR |
111 | - email-ext: |
112 | recipients: 'ci-notification@lists.lttng.org' | |
113 | reply-to: ci-notification@lists.lttng.org | |
114 | always: false | |
115 | unstable: false | |
116 | first-failure: true | |
117 | first-unstable: true | |
118 | not-built: false | |
119 | aborted: false | |
120 | regression: false | |
121 | failure: false | |
122 | second-failure: false | |
123 | improvement: false | |
124 | still-failing: false | |
125 | success: false | |
126 | fixed: false | |
127 | fixed-unhealthy: true | |
128 | still-unstable: false | |
129 | pre-build: false | |
130 | matrix-trigger: only-parent | |
131 | send-to: | |
132 | - recipients |