robert.tomczyk | e53f009 | 2019-06-05 12:03:09 +0100 | [diff] [blame] | 1 | - job-template: |
| 2 | name: 'onap-{project-name}-{stream}-verify-java' |
robert.tomczyk | 19d1ad1 | 2020-03-23 16:35:32 +0000 | [diff] [blame] | 3 | disabled_job_var: false |
robert.tomczyk | 08e50eb | 2020-08-11 16:53:28 +0100 | [diff] [blame] | 4 | node: onap-ubuntu1804 |
robert.tomczyk | e53f009 | 2019-06-05 12:03:09 +0100 | [diff] [blame] | 5 | |
robert.tomczyk | 19d1ad1 | 2020-03-23 16:35:32 +0000 | [diff] [blame] | 6 | disabled: '{obj:disabled_job_var}' |
robert.tomczyk | e53f009 | 2019-06-05 12:03:09 +0100 | [diff] [blame] | 7 | concurrent: true |
robert.tomczyk | 750a20f | 2020-08-18 11:08:43 +0100 | [diff] [blame] | 8 | mvn_settings_xml_version: |
afenner | 2909964 | 2020-08-28 16:09:31 +0100 | [diff] [blame] | 9 | mvn_params: |
robert.tomczyk | c75d04b | 2020-11-09 13:28:21 +0000 | [diff] [blame] | 10 | mvn_version: 3.5.4 |
afenner | a6c9eaa | 2020-10-21 17:04:50 +0100 | [diff] [blame] | 11 | subdirectory: |
robert.tomczyk | e53f009 | 2019-06-05 12:03:09 +0100 | [diff] [blame] | 12 | properties: |
| 13 | - logrotate |
| 14 | |
| 15 | parameters: |
afenner | 49aae69 | 2019-08-16 14:50:42 +0100 | [diff] [blame] | 16 | - project-parameters: |
| 17 | project: 'onap/{project}' |
| 18 | branch: '{branch}' |
robert.tomczyk | e53f009 | 2019-06-05 12:03:09 +0100 | [diff] [blame] | 19 | - nordix-gerrit-parameters |
robert.tomczyk | 9e42d67 | 2023-06-28 10:39:12 +0100 | [diff] [blame] | 20 | - string: |
| 21 | name: JAVA_HOME |
| 22 | default: '/usr/lib/jvm/{jdk-version}-openjdk-amd64' |
| 23 | description: Java home |
| 24 | - string: |
| 25 | name: MVN_VERSION |
| 26 | default: '{mvn_version}' |
| 27 | description: Maven version |
| 28 | - string: |
| 29 | name: MVN_URL |
| 30 | default: https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/$MVN_VERSION/apache-maven-${{MVN_VERSION}}-bin.zip |
| 31 | description: URL to download Maven |
| 32 | - string: |
| 33 | name: MVN |
| 34 | default: $WORKSPACE/apache-maven-${{MVN_VERSION}}/bin/mvn |
| 35 | description: Path to mvn executable |
| 36 | - string: |
| 37 | name: MVN_SETTINGS_XML_VERSION |
| 38 | default: '{mvn_settings_xml_version}' |
| 39 | description: Commit ID of ONAP Oparent repository (https://git.onap.org/oparent/) to pull. Used for Maven settings file. Can be left blank to pull the latest version. |
| 40 | - string: |
| 41 | name: MVN_PARAMS |
| 42 | default: '{mvn_params}' |
| 43 | description: Maven build parameters |
| 44 | - string: |
| 45 | name: SUBDIRECTORY |
| 46 | default: '{subdirectory}' |
| 47 | description: Subdirectory of the workspace for which the pom.xml will be called. This allows the verify to be called against a specific directory |
robert.tomczyk | d69f745 | 2023-06-27 10:58:16 +0100 | [diff] [blame] | 48 | |
robert.tomczyk | e53f009 | 2019-06-05 12:03:09 +0100 | [diff] [blame] | 49 | scm: |
| 50 | - git-scm-gerrit: |
| 51 | ssh-credentials-id: nordixinfra-nordix-gerrit-ssh |
| 52 | branch: '{branch}' |
| 53 | refspec: $GERRIT_REFSPEC |
robert.tomczyk | 7e50787 | 2019-06-18 17:20:26 +0100 | [diff] [blame] | 54 | wipe_workspace: true |
| 55 | clean_before: false |
robert.tomczyk | e53f009 | 2019-06-05 12:03:09 +0100 | [diff] [blame] | 56 | |
| 57 | triggers: |
| 58 | - nordix-gerrit-trigger-patchset-created: |
| 59 | project: 'onap/{project}' |
| 60 | branch: '{branch}' |
| 61 | files: '**' |
| 62 | |
| 63 | wrappers: |
| 64 | - build-timeout: |
| 65 | timeout: 45 |
| 66 | |
| 67 | builders: |
| 68 | - shell: |
robert.tomczyk | 08e50eb | 2020-08-11 16:53:28 +0100 | [diff] [blame] | 69 | !include-raw-escape: ./verify-jobs.sh |
andrew-est | bed991f | 2021-06-22 15:23:46 +0100 | [diff] [blame] | 70 | |
afenner | 64ae431 | 2023-07-12 09:17:45 +0100 | [diff] [blame^] | 71 | # A job to perform CSIT on policy components |
| 72 | - job-template: |
| 73 | name: 'onap-{project-name}-{stream}-policy-csit-verify-java' |
| 74 | disabled_job_var: false |
| 75 | node: onap-ubuntu1804 |
| 76 | |
| 77 | disabled: '{obj:disabled_job_var}' |
| 78 | concurrent: true |
| 79 | mvn_settings_xml_version: |
| 80 | mvn_params: |
| 81 | mvn_version: 3.5.4 |
| 82 | subdirectory: |
| 83 | properties: |
| 84 | - logrotate |
| 85 | |
| 86 | parameters: |
| 87 | - project-parameters: |
| 88 | project: 'onap/{project}' |
| 89 | branch: '{branch}' |
| 90 | - nordix-gerrit-parameters |
| 91 | - string: |
| 92 | name: JAVA_HOME |
| 93 | default: '/usr/lib/jvm/{jdk-version}-openjdk-amd64' |
| 94 | description: Java home |
| 95 | - string: |
| 96 | name: MVN_VERSION |
| 97 | default: '{mvn_version}' |
| 98 | description: Maven version |
| 99 | - string: |
| 100 | name: MVN_URL |
| 101 | default: https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/$MVN_VERSION/apache-maven-${{MVN_VERSION}}-bin.zip |
| 102 | description: URL to download Maven |
| 103 | - string: |
| 104 | name: MVN |
| 105 | default: $WORKSPACE/apache-maven-${{MVN_VERSION}}/bin/mvn |
| 106 | description: Path to mvn executable |
| 107 | - string: |
| 108 | name: MVN_SETTINGS_XML_VERSION |
| 109 | default: '{mvn_settings_xml_version}' |
| 110 | description: Commit ID of ONAP Oparent repository (https://git.onap.org/oparent/) to pull. Used for Maven settings file. Can be left blank to pull the latest version. |
| 111 | - string: |
| 112 | name: MVN_PARAMS |
| 113 | default: '{mvn_params}' |
| 114 | description: Maven build parameters |
| 115 | - string: |
| 116 | name: CSIT_NAME |
| 117 | default: '{csit-name}' |
| 118 | description: The name of the csit-test to run |
| 119 | - string: |
| 120 | name: SUBDIRECTORY |
| 121 | default: '{subdirectory}' |
| 122 | description: Subdirectory of the workspace for which the pom.xml will be called. This allows the verify to be called against a specific directory |
| 123 | |
| 124 | scm: |
| 125 | - git-scm-gerrit: |
| 126 | ssh-credentials-id: nordixinfra-nordix-gerrit-ssh |
| 127 | branch: '{branch}' |
| 128 | refspec: $GERRIT_REFSPEC |
| 129 | wipe_workspace: true |
| 130 | clean_before: false |
| 131 | |
| 132 | triggers: |
| 133 | - nordix-gerrit-trigger-patchset-created: |
| 134 | project: 'onap/{project}' |
| 135 | branch: '{branch}' |
| 136 | files: '**' |
| 137 | |
| 138 | wrappers: |
| 139 | - build-timeout: |
| 140 | timeout: 45 |
| 141 | |
| 142 | builders: |
| 143 | - shell: |
| 144 | !include-raw-escape: ./verify-jobs.sh |
| 145 | - shell: |
| 146 | !include-raw-escape: ./verify-policy-csit.sh |
robert.tomczyk | d69f745 | 2023-06-27 10:58:16 +0100 | [diff] [blame] | 147 | - job-template: |
robert.tomczyk | 9e42d67 | 2023-06-28 10:39:12 +0100 | [diff] [blame] | 148 | name: 'onap-{project-name}-{stream}-performance-test-java' |
robert.tomczyk | d69f745 | 2023-06-27 10:58:16 +0100 | [diff] [blame] | 149 | disabled_job_var: false |
| 150 | node: onap-ubuntu1804 |
| 151 | |
| 152 | disabled: '{obj:disabled_job_var}' |
| 153 | concurrent: true |
| 154 | mvn_settings_xml_version: |
| 155 | mvn_params: |
| 156 | mvn_version: 3.5.4 |
| 157 | subdirectory: |
| 158 | properties: |
| 159 | - logrotate |
| 160 | |
| 161 | parameters: |
| 162 | - project-parameters: |
| 163 | project: 'onap/{project}' |
| 164 | branch: '{branch}' |
| 165 | - nordix-gerrit-parameters |
robert.tomczyk | 9e42d67 | 2023-06-28 10:39:12 +0100 | [diff] [blame] | 166 | - string: |
| 167 | name: JAVA_HOME |
| 168 | default: '/usr/lib/jvm/{jdk-version}-openjdk-amd64' |
| 169 | description: Java home |
| 170 | - string: |
| 171 | name: MVN_VERSION |
| 172 | default: '{mvn_version}' |
| 173 | description: Maven version |
| 174 | - string: |
| 175 | name: MVN_URL |
| 176 | default: https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/$MVN_VERSION/apache-maven-${{MVN_VERSION}}-bin.zip |
| 177 | description: URL to download Maven |
| 178 | - string: |
| 179 | name: MVN |
| 180 | default: $WORKSPACE/apache-maven-${{MVN_VERSION}}/bin/mvn |
| 181 | description: Path to mvn executable |
| 182 | - string: |
| 183 | name: MVN_SETTINGS_XML_VERSION |
| 184 | default: '{mvn_settings_xml_version}' |
| 185 | description: Commit ID of ONAP Oparent repository (https://git.onap.org/oparent/) to pull. Used for Maven settings file. Can be left blank to pull the latest version. |
| 186 | - string: |
| 187 | name: MVN_PARAMS |
| 188 | default: '{mvn_params}' |
| 189 | description: Maven build parameters |
| 190 | - string: |
| 191 | name: SUBDIRECTORY |
| 192 | default: '{subdirectory}' |
| 193 | description: Subdirectory of the workspace for which the pom.xml will be called. This allows the verify to be called against a specific directory |
robert.tomczyk | d69f745 | 2023-06-27 10:58:16 +0100 | [diff] [blame] | 194 | scm: |
robert.tomczyk | c87b977 | 2023-07-03 18:15:06 +0100 | [diff] [blame] | 195 | - git-scm: |
robert.tomczyk | d69f745 | 2023-06-27 10:58:16 +0100 | [diff] [blame] | 196 | ssh-credentials-id: nordixinfra-nordix-gerrit-ssh |
| 197 | branch: '{branch}' |
robert.tomczyk | 9e42d67 | 2023-06-28 10:39:12 +0100 | [diff] [blame] | 198 | refspec: '' |
robert.tomczyk | d69f745 | 2023-06-27 10:58:16 +0100 | [diff] [blame] | 199 | wipe_workspace: true |
| 200 | clean_before: false |
| 201 | |
| 202 | triggers: |
| 203 | - timed: '{timer}' |
robert.tomczyk | 57ef7c2 | 2023-07-03 17:33:19 +0100 | [diff] [blame] | 204 | - gerrit: |
| 205 | server-name: 'Nordix Gerrit' |
| 206 | trigger-on: |
| 207 | - comment-added-contains-event: |
| 208 | comment-contains-value: 'performance-test' |
| 209 | projects: |
| 210 | - project-compare-type: 'ANT' |
| 211 | project-pattern: 'onap/{project}' |
| 212 | branches: |
| 213 | - branch-compare-type: 'ANT' |
| 214 | branch-pattern: '**/{branch}' |
| 215 | file-paths: |
| 216 | - compare-type: 'ANT' |
| 217 | pattern: '**' |
robert.tomczyk | d69f745 | 2023-06-27 10:58:16 +0100 | [diff] [blame] | 218 | |
| 219 | wrappers: |
| 220 | - build-timeout: |
| 221 | timeout: 45 |
| 222 | |
| 223 | builders: |
| 224 | - shell: |
| 225 | !include-raw-escape: ./verify-jobs.sh |
| 226 | |
afenner | 64ae431 | 2023-07-12 09:17:45 +0100 | [diff] [blame^] | 227 | |
andrew-est | bed991f | 2021-06-22 15:23:46 +0100 | [diff] [blame] | 228 | # csits for diferent projects are different so need to have special handling |
| 229 | - job-template: |
| 230 | name: 'onap-policy-docker-{stream}-csit-java' |
| 231 | disabled_job_var: false |
| 232 | node: onap-ubuntu1804 |
| 233 | |
| 234 | disabled: '{obj:disabled_job_var}' |
| 235 | concurrent: true |
| 236 | properties: |
| 237 | - logrotate |
| 238 | |
| 239 | parameters: |
| 240 | - project-parameters: |
| 241 | project: 'onap/{project}' |
| 242 | branch: '{branch}' |
| 243 | - nordix-gerrit-parameters |
| 244 | - string: |
| 245 | name: JAVA_HOME |
| 246 | default: '/usr/lib/jvm/{jdk-version}-openjdk-amd64' |
| 247 | description: Java home |
| 248 | - string: |
| 249 | name: CSIT_TEST_NAMES |
| 250 | default: '{csit_test_names}' |
| 251 | description: The name of the csits test to run |
| 252 | scm: |
| 253 | - git-scm-gerrit: |
| 254 | ssh-credentials-id: nordixinfra-nordix-gerrit-ssh |
| 255 | branch: 'master' |
| 256 | refspec: $GERRIT_REFSPEC |
| 257 | wipe_workspace: true |
| 258 | clean_before: false |
| 259 | |
| 260 | triggers: |
| 261 | - nordix-gerrit-trigger-patchset-created: |
| 262 | project: 'onap/{project}' |
| 263 | branch: '{branch}' |
| 264 | files: '**' |
| 265 | |
| 266 | wrappers: |
| 267 | - build-timeout: |
| 268 | timeout: 45 |
| 269 | |
| 270 | builders: |
| 271 | - 'wait-pkg-mgr-macro' |
| 272 | - shell: |
| 273 | !include-raw-escape: ./policy-docker-csit-jobs.sh |