Andrew Grimberg | 1ac7c2d | 2017-02-08 12:40:56 -0800 | [diff] [blame] | 1 | --- |
| 2 | # vim: sw=2 ts=2 sts=2 et : |
| 3 | |
lj1412 | f75ed99 | 2017-02-17 22:21:06 +0000 | [diff] [blame] | 4 | - job-template: |
Konrad Bańka | 67a1ef1 | 2019-09-09 17:02:25 +0200 | [diff] [blame] | 5 | # |
| 6 | # job template for verifying gerrit changeset by shell script |
| 7 | # |
| 8 | # Required Variables: |
| 9 | # project-name: name of project |
| 10 | # area: area of project covered with this verification job |
| 11 | # project: name of scm repository to work on |
| 12 | # stream: name of stream used (set the same as branch if you're not sure) |
| 13 | # branch: git branch to work on |
| 14 | # script: build script to execute |
| 15 | # Optional Variables: |
| 16 | # pattern: trigger job only if modification covered file in pattern |
| 17 | # build-node: label(flavor) of jenkins slave |
| 18 | name: '{project-name}-{stream}-{area}-verify-shell' |
| 19 | node: '{build-node}' |
| 20 | type: freestyle |
Konrad Bańka | c5b8722 | 2020-04-22 14:00:37 +0200 | [diff] [blame] | 21 | concurrent: true |
Konrad Bańka | eddda0e | 2021-08-03 21:33:50 +0200 | [diff] [blame] | 22 | disable-job: false |
| 23 | disabled: '{disable-job}' |
Konrad Bańka | 67a1ef1 | 2019-09-09 17:02:25 +0200 | [diff] [blame] | 24 | |
| 25 | pattern: '**' |
| 26 | |
| 27 | parameters: |
| 28 | - lf-infra-parameters: |
| 29 | branch: '{branch}' |
| 30 | project: '{project}' |
| 31 | stream: '{stream}' |
| 32 | lftools-version: '{lftools-version}' |
| 33 | |
| 34 | scm: |
| 35 | - gerrit-trigger-scm: |
| 36 | refspec: '$GERRIT_REFSPEC' |
| 37 | submodule-recursive: '{submodule-recursive}' |
| 38 | choosing-strategy: 'gerrit' |
| 39 | |
| 40 | triggers: |
| 41 | - gerrit-trigger-patch-submitted: |
| 42 | server: '{server-name}' |
| 43 | project: '{project}' |
| 44 | branch: '{branch}' |
| 45 | files: '{pattern}' |
| 46 | |
Konrad Bańka | cd7d09e | 2020-04-21 18:20:23 +0200 | [diff] [blame] | 47 | wrappers: |
| 48 | - infra-wrappers: |
| 49 | build-timeout: '{build-timeout}' |
| 50 | |
Konrad Bańka | 67a1ef1 | 2019-09-09 17:02:25 +0200 | [diff] [blame] | 51 | builders: |
| 52 | - shell: '{script}' |
| 53 | |
| 54 | publishers: |
| 55 | - lf-infra-publish |
| 56 | |
| 57 | - job-template: |
Andrew Grimberg | 1ac7c2d | 2017-02-08 12:40:56 -0800 | [diff] [blame] | 58 | # Job template for 2 scm and script trigger |
| 59 | # |
| 60 | # Required Variables: |
| 61 | # branch: git branch |
| 62 | # build-node: what build node to run on |
| 63 | # script: build script to execute |
| 64 | # extra-project: extra gerrit project to checkout |
| 65 | # extra-refspec: refspec for the extra project |
| 66 | # extra-branch: branch to checkout for the extra project |
| 67 | # checkout-dir: directory to checkout the extra project to |
| 68 | # DO NOT SET THIS TO anything that translates to |
| 69 | # $WORKSPACE as it will destroy the initial |
| 70 | # project checkout |
| 71 | |
Andrew Grimberg | ec9a1bf | 2017-02-16 09:56:57 -0800 | [diff] [blame] | 72 | name: '{project-name}-{stream}-two-scm-verify-script' |
Andrew Grimberg | 1ac7c2d | 2017-02-08 12:40:56 -0800 | [diff] [blame] | 73 | |
| 74 | project-type: freestyle |
| 75 | concurrent: true |
| 76 | node: '{build-node}' |
| 77 | |
| 78 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 79 | - infra-properties: |
Andrew Grimberg | 1ac7c2d | 2017-02-08 12:40:56 -0800 | [diff] [blame] | 80 | build-days-to-keep: '{build-days-to-keep}' |
| 81 | |
| 82 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 83 | - infra-parameters: |
Andrew Grimberg | 1ac7c2d | 2017-02-08 12:40:56 -0800 | [diff] [blame] | 84 | project: '{project}' |
| 85 | branch: '{branch}' |
| 86 | refspec: 'refs/heads/{branch}' |
| 87 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | ab9451c | 2017-02-20 14:57:07 -0800 | [diff] [blame] | 88 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 89 | maven-version: '{maven-version}' |
Andrew Grimberg | 1ac7c2d | 2017-02-08 12:40:56 -0800 | [diff] [blame] | 90 | |
| 91 | scm: |
| 92 | - gerrit-trigger-scm: |
| 93 | refspec: '$GERRIT_REFSPEC' |
| 94 | choosing-strategy: 'gerrit' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 95 | submodule-recursive: '{submodule-recursive}' |
Andrew Grimberg | 1ac7c2d | 2017-02-08 12:40:56 -0800 | [diff] [blame] | 96 | - git-extra-project: |
| 97 | project: '{extra-project}' |
| 98 | refspec: '{extra-refspec}' |
| 99 | branch: '{extra-branch}' |
| 100 | checkout-dir: '{checkout-dir}' |
| 101 | |
| 102 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 103 | - infra-wrappers: |
Andrew Grimberg | 1ac7c2d | 2017-02-08 12:40:56 -0800 | [diff] [blame] | 104 | build-timeout: '{build-timeout}' |
| 105 | |
| 106 | triggers: |
| 107 | - gerrit-trigger-patch-submitted: |
| 108 | server: '{server-name}' |
| 109 | project: '{project}' |
| 110 | branch: '{branch}' |
| 111 | files: '**' |
| 112 | |
| 113 | builders: |
Jessica Wagantall | 05ae7da | 2018-10-22 17:32:33 -0700 | [diff] [blame] | 114 | - lf-infra-pre-build |
Andrew Grimberg | 1ac7c2d | 2017-02-08 12:40:56 -0800 | [diff] [blame] | 115 | - provide-maven-settings: |
| 116 | global-settings-file: 'global-settings' |
| 117 | settings-file: '{mvn-settings}' |
| 118 | # make sure maven gets installed / setup |
| 119 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 120 | maven-version: '{maven-version}' |
Andrew Grimberg | 1ac7c2d | 2017-02-08 12:40:56 -0800 | [diff] [blame] | 121 | goals: '--version' |
| 122 | settings: '{mvn-settings}' |
| 123 | settings-type: cfp |
| 124 | global-settings: 'global-settings' |
| 125 | global-settings-type: cfp |
| 126 | - shell: '{script}' |
| 127 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 128 | publishers: |
Jessica Wagantall | 2a6a380 | 2021-01-14 12:19:17 -0800 | [diff] [blame] | 129 | - lf-infra-publish |
talasila | 714fdfa | 2017-02-19 09:30:55 -0500 | [diff] [blame] | 130 | |
| 131 | # vim: sw=2 ts=2 sts=2 et : |
| 132 | |
| 133 | - job-template: |
Christopher Lott (cl778h) | 6b6ae12 | 2017-10-25 16:51:02 -0400 | [diff] [blame] | 134 | # Job template for two scm and script trigger - for docker merge |
talasila | 714fdfa | 2017-02-19 09:30:55 -0500 | [diff] [blame] | 135 | # |
| 136 | # Required Variables: |
| 137 | # branch: git branch |
| 138 | # build-node: what build node to run on |
| 139 | # script: build script to execute |
| 140 | |
Christopher Lott (cl778h) | 6b6ae12 | 2017-10-25 16:51:02 -0400 | [diff] [blame] | 141 | name: '{project-name}-{stream}-two-scm-merge-docker-script' |
talasila | 714fdfa | 2017-02-19 09:30:55 -0500 | [diff] [blame] | 142 | |
| 143 | project-type: freestyle |
| 144 | concurrent: true |
| 145 | node: '{build-node}' |
| 146 | |
| 147 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 148 | - infra-properties: |
talasila | 714fdfa | 2017-02-19 09:30:55 -0500 | [diff] [blame] | 149 | build-days-to-keep: '{build-days-to-keep}' |
| 150 | |
| 151 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 152 | - infra-parameters: |
talasila | 714fdfa | 2017-02-19 09:30:55 -0500 | [diff] [blame] | 153 | project: '{project}' |
| 154 | branch: '{branch}' |
| 155 | refspec: 'refs/heads/{branch}' |
| 156 | artifacts: '{archive-artifacts}' |
| 157 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 158 | maven-version: '{maven-version}' |
talasila | 714fdfa | 2017-02-19 09:30:55 -0500 | [diff] [blame] | 159 | |
| 160 | scm: |
| 161 | - gerrit-trigger-scm: |
| 162 | refspec: '' |
| 163 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 164 | submodule-recursive: '{submodule-recursive}' |
talasila | 596787c | 2017-02-19 20:47:56 -0500 | [diff] [blame] | 165 | - git-extra-project: |
Christopher Lott (cl778h) | 6b6ae12 | 2017-10-25 16:51:02 -0400 | [diff] [blame] | 166 | project: '{extra-project}' |
| 167 | refspec: '{extra-refspec}' |
| 168 | branch: '{extra-branch}' |
| 169 | checkout-dir: '{checkout-dir}' |
talasila | 714fdfa | 2017-02-19 09:30:55 -0500 | [diff] [blame] | 170 | |
| 171 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 172 | - infra-wrappers: |
talasila | 714fdfa | 2017-02-19 09:30:55 -0500 | [diff] [blame] | 173 | build-timeout: '{build-timeout}' |
| 174 | |
| 175 | triggers: |
talasila | 714fdfa | 2017-02-19 09:30:55 -0500 | [diff] [blame] | 176 | - gerrit-trigger-patch-merged: |
| 177 | server: '{server-name}' |
| 178 | project: '{project}' |
| 179 | branch: '{branch}' |
| 180 | files: '**' |
| 181 | |
| 182 | builders: |
Jessica Wagantall | 05ae7da | 2018-10-22 17:32:33 -0700 | [diff] [blame] | 183 | - lf-infra-pre-build |
talasila | 714fdfa | 2017-02-19 09:30:55 -0500 | [diff] [blame] | 184 | - provide-maven-settings: |
| 185 | global-settings-file: 'global-settings' |
| 186 | settings-file: '{mvn-settings}' |
| 187 | - docker-login |
| 188 | # make sure maven gets installed / setup |
| 189 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 190 | maven-version: '{maven-version}' |
talasila | 714fdfa | 2017-02-19 09:30:55 -0500 | [diff] [blame] | 191 | goals: '--version' |
| 192 | settings: '{mvn-settings}' |
| 193 | settings-type: cfp |
| 194 | global-settings: 'global-settings' |
| 195 | global-settings-type: cfp |
| 196 | - shell: '{script}' |
| 197 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 198 | publishers: |
Jessica Wagantall | 2a6a380 | 2021-01-14 12:19:17 -0800 | [diff] [blame] | 199 | - lf-infra-publish |
talasila | a20f8bf | 2017-02-22 10:49:54 -0500 | [diff] [blame] | 200 | |
| 201 | - job-template: |
Christopher Lott (cl778h) | 6b6ae12 | 2017-10-25 16:51:02 -0400 | [diff] [blame] | 202 | # Job template for two scm and script trigger - for docker daily release |
talasila | a20f8bf | 2017-02-22 10:49:54 -0500 | [diff] [blame] | 203 | # |
| 204 | # Required Variables: |
| 205 | # branch: git branch |
| 206 | # build-node: what build node to run on |
| 207 | # script: build script to execute |
| 208 | |
Christopher Lott (cl778h) | 6b6ae12 | 2017-10-25 16:51:02 -0400 | [diff] [blame] | 209 | name: '{project-name}-{stream}-two-scm-release-docker-script-manual' |
talasila | a20f8bf | 2017-02-22 10:49:54 -0500 | [diff] [blame] | 210 | |
| 211 | project-type: freestyle |
| 212 | concurrent: true |
| 213 | node: '{build-node}' |
| 214 | |
| 215 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 216 | - infra-properties: |
talasila | a20f8bf | 2017-02-22 10:49:54 -0500 | [diff] [blame] | 217 | build-days-to-keep: '{build-days-to-keep}' |
| 218 | |
| 219 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 220 | - infra-parameters: |
talasila | a20f8bf | 2017-02-22 10:49:54 -0500 | [diff] [blame] | 221 | project: '{project}' |
| 222 | branch: '{branch}' |
| 223 | refspec: 'refs/heads/{branch}' |
| 224 | artifacts: '{archive-artifacts}' |
| 225 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 226 | maven-version: '{maven-version}' |
talasila | a20f8bf | 2017-02-22 10:49:54 -0500 | [diff] [blame] | 227 | |
| 228 | scm: |
| 229 | - gerrit-trigger-scm: |
| 230 | refspec: '' |
| 231 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 232 | submodule-recursive: '{submodule-recursive}' |
talasila | a20f8bf | 2017-02-22 10:49:54 -0500 | [diff] [blame] | 233 | - git-extra-project: |
Christopher Lott (cl778h) | 6b6ae12 | 2017-10-25 16:51:02 -0400 | [diff] [blame] | 234 | project: '{extra-project}' |
| 235 | refspec: '{extra-refspec}' |
| 236 | branch: '{extra-branch}' |
| 237 | checkout-dir: '{checkout-dir}' |
talasila | a20f8bf | 2017-02-22 10:49:54 -0500 | [diff] [blame] | 238 | |
| 239 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 240 | - infra-wrappers: |
talasila | a20f8bf | 2017-02-22 10:49:54 -0500 | [diff] [blame] | 241 | build-timeout: '{build-timeout}' |
| 242 | |
| 243 | triggers: |
talasila | a20f8bf | 2017-02-22 10:49:54 -0500 | [diff] [blame] | 244 | - gerrit-trigger-release-manually: |
| 245 | server: '{server-name}' |
| 246 | project: '{project}' |
| 247 | branch: '{branch}' |
| 248 | |
| 249 | builders: |
Jessica Wagantall | 05ae7da | 2018-10-22 17:32:33 -0700 | [diff] [blame] | 250 | - lf-infra-pre-build |
talasila | a20f8bf | 2017-02-22 10:49:54 -0500 | [diff] [blame] | 251 | - provide-maven-settings: |
| 252 | global-settings-file: 'global-settings' |
| 253 | settings-file: '{mvn-settings}' |
| 254 | - docker-login |
| 255 | # make sure maven gets installed / setup |
| 256 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 257 | maven-version: '{maven-version}' |
talasila | a20f8bf | 2017-02-22 10:49:54 -0500 | [diff] [blame] | 258 | goals: '--version' |
| 259 | settings: '{mvn-settings}' |
| 260 | settings-type: cfp |
| 261 | global-settings: 'global-settings' |
| 262 | global-settings-type: cfp |
| 263 | - shell: '{script}' |
| 264 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 265 | publishers: |
Jessica Wagantall | 2a6a380 | 2021-01-14 12:19:17 -0800 | [diff] [blame] | 266 | - lf-infra-publish |