Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 1 | --- |
| 2 | - job-template: |
| 3 | # Job template for Java verify jobs |
| 4 | # |
| 5 | # The purpose of this job template is to run "maven clean install" for |
| 6 | # projects using this template. |
| 7 | # |
| 8 | # Required Variables: |
| 9 | # branch: git branch (eg. stable/lithium or master) |
| 10 | |
Andrew Grimberg | ce2286c | 2017-01-31 05:50:39 -0800 | [diff] [blame^] | 11 | name: '{project-name}-{stream}-verify-java' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 12 | |
| 13 | project-type: freestyle |
| 14 | concurrent: true |
| 15 | node: '{build-node}' |
| 16 | |
| 17 | properties: |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 18 | - ecomp-infra-properties: |
| 19 | build-days-to-keep: '{build-days-to-keep}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 20 | |
| 21 | parameters: |
| 22 | - ecomp-infra-parameters: |
| 23 | project: '{project}' |
| 24 | branch: '{branch}' |
| 25 | refspec: 'refs/heads/{branch}' |
Andrew Grimberg | 597853d | 2017-01-31 05:28:25 -0800 | [diff] [blame] | 26 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 27 | |
| 28 | scm: |
| 29 | - gerrit-trigger-scm: |
| 30 | refspec: '$GERRIT_REFSPEC' |
| 31 | choosing-strategy: 'gerrit' |
| 32 | |
| 33 | wrappers: |
| 34 | - ecomp-infra-wrappers: |
| 35 | build-timeout: '{build-timeout}' |
| 36 | |
| 37 | triggers: |
| 38 | - gerrit-trigger-patch-submitted: |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 39 | server: '{server-name}' |
| 40 | project: '{project}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 41 | branch: '{branch}' |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 42 | files: '**' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 43 | |
| 44 | builders: |
| 45 | - provide-maven-settings: |
| 46 | global-settings-file: 'global-settings' |
| 47 | settings-file: '{mvn-settings}' |
| 48 | - maven-target: |
| 49 | maven-version: 'mvn33' |
| 50 | goals: 'clean install' |
| 51 | settings: '{mvn-settings}' |
| 52 | settings-type: cfp |
| 53 | global-settings: 'global-settings' |
| 54 | global-settings-type: cfp |
| 55 | |
Andrew Grimberg | 83f7ebf | 2017-01-31 04:44:44 -0800 | [diff] [blame] | 56 | # publishers: |
| 57 | # - ecomp-infra-shiplogs: |
| 58 | # maven-version: 'mvn33' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 59 | |
| 60 | - job-template: |
| 61 | # Job template for Java verify jobs with POM not at the root |
| 62 | # |
| 63 | # The purpose of this job template is to run "maven clean install" for |
| 64 | # projects using this template. |
| 65 | # |
| 66 | # Required Variables: |
| 67 | # branch: git branch (eg. stable/lithium or master) |
| 68 | # pom: name/location of the pom.xml file relative to the workspace |
| 69 | # pattern: ant file-path pattern relative to the workspace used to |
| 70 | # trigger the job |
| 71 | |
Andrew Grimberg | ce2286c | 2017-01-31 05:50:39 -0800 | [diff] [blame^] | 72 | name: '{project-name}-{stream}-{subproject}-verify-java' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 73 | |
| 74 | project-type: freestyle |
| 75 | concurrent: true |
| 76 | node: '{build-node}' |
| 77 | |
| 78 | properties: |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 79 | - ecomp-infra-properties: |
| 80 | build-days-to-keep: '{build-days-to-keep}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 81 | |
| 82 | parameters: |
| 83 | - ecomp-infra-parameters: |
| 84 | project: '{project}' |
| 85 | branch: '{branch}' |
| 86 | refspec: 'refs/heads/{branch}' |
Andrew Grimberg | 597853d | 2017-01-31 05:28:25 -0800 | [diff] [blame] | 87 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 88 | |
| 89 | scm: |
| 90 | - gerrit-trigger-scm: |
| 91 | refspec: '$GERRIT_REFSPEC' |
| 92 | choosing-strategy: 'gerrit' |
| 93 | |
| 94 | wrappers: |
| 95 | - ecomp-infra-wrappers: |
| 96 | build-timeout: '{build-timeout}' |
| 97 | |
| 98 | triggers: |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 99 | - gerrit-trigger-patch-submitted: |
| 100 | server: '{server-name}' |
| 101 | project: '{project}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 102 | branch: '{branch}' |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 103 | files: '{pattern}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 104 | |
| 105 | builders: |
| 106 | - provide-maven-settings: |
| 107 | global-settings-file: 'global-settings' |
| 108 | settings-file: '{mvn-settings}' |
| 109 | - maven-target: |
| 110 | maven-version: 'mvn33' |
| 111 | pom: '{pom}' |
| 112 | goals: 'clean install' |
| 113 | settings: '{mvn-settings}' |
| 114 | settings-type: cfp |
| 115 | global-settings: 'global-settings' |
| 116 | global-settings-type: cfp |
| 117 | |
Andrew Grimberg | 83f7ebf | 2017-01-31 04:44:44 -0800 | [diff] [blame] | 118 | # publishers: |
| 119 | # - ecomp-infra-shiplogs: |
| 120 | # maven-version: 'mvn33' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 121 | |
| 122 | - job-template: |
| 123 | # Job template for Java merge jobs |
| 124 | # |
| 125 | # The purpose of this job template is to run "maven clean deploy" for |
| 126 | # projects using this template. |
| 127 | # |
| 128 | # Required Variables: |
| 129 | # branch: git branch (eg. stable/lithium or master) |
Andrew Grimberg | ce2286c | 2017-01-31 05:50:39 -0800 | [diff] [blame^] | 130 | name: '{project-name}-{stream}-merge-java' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 131 | |
| 132 | project-type: freestyle |
| 133 | node: '{build-node}' |
| 134 | |
| 135 | properties: |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 136 | - ecomp-infra-properties: |
| 137 | build-days-to-keep: '{build-days-to-keep}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 138 | |
| 139 | parameters: |
| 140 | - ecomp-infra-parameters: |
| 141 | project: '{project}' |
| 142 | branch: '{branch}' |
| 143 | refspec: 'refs/heads/{branch}' |
Andrew Grimberg | 597853d | 2017-01-31 05:28:25 -0800 | [diff] [blame] | 144 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 145 | |
| 146 | scm: |
| 147 | - gerrit-trigger-scm: |
| 148 | refspec: '' |
| 149 | choosing-strategy: 'default' |
| 150 | |
| 151 | wrappers: |
| 152 | - ecomp-infra-wrappers: |
| 153 | build-timeout: '{build-timeout}' |
| 154 | |
| 155 | triggers: |
| 156 | - gerrit-trigger-patch-merged: |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 157 | server: '{server-name}' |
| 158 | project: '{project}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 159 | branch: '{branch}' |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 160 | files: '**' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 161 | |
| 162 | builders: |
| 163 | - provide-maven-settings: |
| 164 | global-settings-file: 'global-settings' |
| 165 | settings-file: '{mvn-settings}' |
| 166 | - maven-target: |
| 167 | maven-version: 'mvn33' |
| 168 | # yamllint disable rule:line-length |
Andrew Grimberg | ce2286c | 2017-01-31 05:50:39 -0800 | [diff] [blame^] | 169 | goals: 'clean deploy' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 170 | # yamllint enable |
| 171 | settings: '{mvn-settings}' |
| 172 | settings-type: cfp |
| 173 | global-settings: 'global-settings' |
| 174 | global-settings-type: cfp |
| 175 | |
Andrew Grimberg | 83f7ebf | 2017-01-31 04:44:44 -0800 | [diff] [blame] | 176 | # publishers: |
| 177 | # - ecomp-infra-shiplogs: |
| 178 | # maven-version: 'mvn33' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 179 | |
| 180 | - job-template: |
| 181 | # Job template for Java merge jobs with POM not at the root |
| 182 | # |
| 183 | # The purpose of this job template is to run "maven clean deploy" for |
| 184 | # projects using this template. |
| 185 | # |
| 186 | # Required Variables: |
| 187 | # branch: git branch (eg. stable/lithium or master) |
| 188 | # pom: name/location of the pom.xml file relative to the workspace |
| 189 | # pattern: ant file-path pattern relative to the workspace used to |
| 190 | # trigger the job |
| 191 | |
Andrew Grimberg | ce2286c | 2017-01-31 05:50:39 -0800 | [diff] [blame^] | 192 | name: '{project-name}-{stream}-{subproject}-merge-java' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 193 | |
| 194 | project-type: freestyle |
| 195 | node: '{build-node}' |
| 196 | |
| 197 | properties: |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 198 | - ecomp-infra-properties: |
| 199 | build-days-to-keep: '{build-days-to-keep}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 200 | |
| 201 | parameters: |
| 202 | - ecomp-infra-parameters: |
| 203 | project: '{project}' |
| 204 | branch: '{branch}' |
| 205 | refspec: 'refs/heads/{branch}' |
Andrew Grimberg | 597853d | 2017-01-31 05:28:25 -0800 | [diff] [blame] | 206 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 207 | |
| 208 | scm: |
| 209 | - gerrit-trigger-scm: |
| 210 | refspec: '' |
| 211 | choosing-strategy: 'default' |
| 212 | |
| 213 | wrappers: |
| 214 | - ecomp-infra-wrappers: |
| 215 | build-timeout: '{build-timeout}' |
| 216 | |
| 217 | triggers: |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 218 | - gerrit-trigger-patch-merged: |
| 219 | server: '{server-name}' |
| 220 | project: '{project}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 221 | branch: '{branch}' |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 222 | files: '{pattern}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 223 | |
| 224 | builders: |
| 225 | - provide-maven-settings: |
| 226 | global-settings-file: 'global-settings' |
| 227 | settings-file: '{mvn-settings}' |
| 228 | - maven-target: |
| 229 | maven-version: 'mvn33' |
| 230 | pom: '{pom}' |
| 231 | # yamllint disable rule:line-length |
Andrew Grimberg | ce2286c | 2017-01-31 05:50:39 -0800 | [diff] [blame^] | 232 | goals: 'clean deploy' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 233 | # yamllint enable |
| 234 | settings: '{mvn-settings}' |
| 235 | settings-type: cfp |
| 236 | global-settings: 'global-settings' |
| 237 | global-settings-type: cfp |
| 238 | |
Andrew Grimberg | 83f7ebf | 2017-01-31 04:44:44 -0800 | [diff] [blame] | 239 | # publishers: |
| 240 | # - ecomp-infra-shiplogs: |
| 241 | # maven-version: 'mvn33' |