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 | |
robert.tomczyk | d69f745 | 2023-06-27 10:58:16 +0100 | [diff] [blame] | 71 | - job-template: |
robert.tomczyk | 9e42d67 | 2023-06-28 10:39:12 +0100 | [diff] [blame] | 72 | name: 'onap-{project-name}-{stream}-performance-test-java' |
robert.tomczyk | d69f745 | 2023-06-27 10:58:16 +0100 | [diff] [blame] | 73 | disabled_job_var: false |
| 74 | node: onap-ubuntu1804 |
| 75 | |
| 76 | disabled: '{obj:disabled_job_var}' |
| 77 | concurrent: true |
| 78 | mvn_settings_xml_version: |
| 79 | mvn_params: |
| 80 | mvn_version: 3.5.4 |
| 81 | subdirectory: |
| 82 | properties: |
| 83 | - logrotate |
| 84 | |
| 85 | parameters: |
| 86 | - project-parameters: |
| 87 | project: 'onap/{project}' |
| 88 | branch: '{branch}' |
| 89 | - nordix-gerrit-parameters |
robert.tomczyk | 9e42d67 | 2023-06-28 10:39:12 +0100 | [diff] [blame] | 90 | - string: |
| 91 | name: JAVA_HOME |
| 92 | default: '/usr/lib/jvm/{jdk-version}-openjdk-amd64' |
| 93 | description: Java home |
| 94 | - string: |
| 95 | name: MVN_VERSION |
| 96 | default: '{mvn_version}' |
| 97 | description: Maven version |
| 98 | - string: |
| 99 | name: MVN_URL |
| 100 | default: https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/$MVN_VERSION/apache-maven-${{MVN_VERSION}}-bin.zip |
| 101 | description: URL to download Maven |
| 102 | - string: |
| 103 | name: MVN |
| 104 | default: $WORKSPACE/apache-maven-${{MVN_VERSION}}/bin/mvn |
| 105 | description: Path to mvn executable |
| 106 | - string: |
| 107 | name: MVN_SETTINGS_XML_VERSION |
| 108 | default: '{mvn_settings_xml_version}' |
| 109 | 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. |
| 110 | - string: |
| 111 | name: MVN_PARAMS |
| 112 | default: '{mvn_params}' |
| 113 | description: Maven build parameters |
| 114 | - string: |
| 115 | name: SUBDIRECTORY |
| 116 | default: '{subdirectory}' |
| 117 | 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] | 118 | scm: |
robert.tomczyk | c87b977 | 2023-07-03 18:15:06 +0100 | [diff] [blame] | 119 | - git-scm: |
robert.tomczyk | d69f745 | 2023-06-27 10:58:16 +0100 | [diff] [blame] | 120 | ssh-credentials-id: nordixinfra-nordix-gerrit-ssh |
| 121 | branch: '{branch}' |
robert.tomczyk | 9e42d67 | 2023-06-28 10:39:12 +0100 | [diff] [blame] | 122 | refspec: '' |
robert.tomczyk | d69f745 | 2023-06-27 10:58:16 +0100 | [diff] [blame] | 123 | wipe_workspace: true |
| 124 | clean_before: false |
| 125 | |
| 126 | triggers: |
| 127 | - timed: '{timer}' |
robert.tomczyk | 57ef7c2 | 2023-07-03 17:33:19 +0100 | [diff] [blame] | 128 | - gerrit: |
| 129 | server-name: 'Nordix Gerrit' |
| 130 | trigger-on: |
| 131 | - comment-added-contains-event: |
| 132 | comment-contains-value: 'performance-test' |
| 133 | projects: |
| 134 | - project-compare-type: 'ANT' |
| 135 | project-pattern: 'onap/{project}' |
| 136 | branches: |
| 137 | - branch-compare-type: 'ANT' |
| 138 | branch-pattern: '**/{branch}' |
| 139 | file-paths: |
| 140 | - compare-type: 'ANT' |
| 141 | pattern: '**' |
robert.tomczyk | d69f745 | 2023-06-27 10:58:16 +0100 | [diff] [blame] | 142 | |
| 143 | wrappers: |
| 144 | - build-timeout: |
| 145 | timeout: 45 |
| 146 | |
| 147 | builders: |
| 148 | - shell: |
| 149 | !include-raw-escape: ./verify-jobs.sh |
| 150 | |
andrew-est | bed991f | 2021-06-22 15:23:46 +0100 | [diff] [blame] | 151 | # csits for diferent projects are different so need to have special handling |
| 152 | - job-template: |
| 153 | name: 'onap-policy-docker-{stream}-csit-java' |
| 154 | disabled_job_var: false |
| 155 | node: onap-ubuntu1804 |
| 156 | |
| 157 | disabled: '{obj:disabled_job_var}' |
| 158 | concurrent: true |
| 159 | properties: |
| 160 | - logrotate |
| 161 | |
| 162 | parameters: |
| 163 | - project-parameters: |
| 164 | project: 'onap/{project}' |
| 165 | branch: '{branch}' |
| 166 | - nordix-gerrit-parameters |
| 167 | - string: |
| 168 | name: JAVA_HOME |
| 169 | default: '/usr/lib/jvm/{jdk-version}-openjdk-amd64' |
| 170 | description: Java home |
| 171 | - string: |
| 172 | name: CSIT_TEST_NAMES |
| 173 | default: '{csit_test_names}' |
| 174 | description: The name of the csits test to run |
| 175 | scm: |
| 176 | - git-scm-gerrit: |
| 177 | ssh-credentials-id: nordixinfra-nordix-gerrit-ssh |
| 178 | branch: 'master' |
| 179 | refspec: $GERRIT_REFSPEC |
| 180 | wipe_workspace: true |
| 181 | clean_before: false |
| 182 | |
| 183 | triggers: |
| 184 | - nordix-gerrit-trigger-patchset-created: |
| 185 | project: 'onap/{project}' |
| 186 | branch: '{branch}' |
| 187 | files: '**' |
| 188 | |
| 189 | wrappers: |
| 190 | - build-timeout: |
| 191 | timeout: 45 |
| 192 | |
| 193 | builders: |
| 194 | - 'wait-pkg-mgr-macro' |
| 195 | - shell: |
| 196 | !include-raw-escape: ./policy-docker-csit-jobs.sh |