2e865e2b6747739a5386e49ef6305c820462c590
[infra/cicd.git] / jjb / oransc / nonrtric-plt-ranpm / nonrtric-plt-ranpm-verify-jobs.yaml
1 ---
2 # ============LICENSE_START=======================================================
3 #  Copyright (C) 2023 Nordix Foundation.
4 # ================================================================================
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
8 #
9 #      http://www.apache.org/licenses/LICENSE-2.0
10 #
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16 #
17 # SPDX-License-Identifier: Apache-2.0
18 # ============LICENSE_END=========================================================
19
20 # this job gets triggered when a change is proposed to
21 # nonrtric/plt/ranpm project on Nordix Gerrit.
22
23 - _nonrtric-plt-ranpm_common: &nonrtric_plt_ranpm_jdk_common
24     name: nonrtric-plt-ranpm-common
25     project: nonrtric/plt/ranpm
26     project-name: nonrtric-plt-ranpm
27     jdk-version: java-17
28
29 # Job for nonrtric-plt-ranpm-datafilecollector
30 - project:
31     <<: *nonrtric_plt_ranpm_jdk_common
32     name: nonrtric-plt-ranpm-datafilecollector
33     project-name: nonrtric-plt-ranpm-datafilecollector
34     mvn-params: "-f datafilecollector -Dbuild.number=${{BUILD_NUMBER}}"
35     gerrit_trigger_file_paths:
36       - compare-type: REG_EXP
37         pattern: "**/datafilecollector/**"
38     subdirectory: datafilecollector
39     trigger_files_path_pattern: datafilecollector
40     jobs:
41       - 'oransc-{project-name}-verify-java'
42     stream:
43       - master:
44           branch: master