Merge "Create jenkins pipeline for k6 performance tests"
[infra/cicd.git] / jjb / onap / cps / cps-performance-test-jobs.yaml
1 ---
2 #
3 # ============LICENSE_START=======================================================
4 #  Copyright (C) 2023-2024 Nordix Foundation.
5 # ================================================================================
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
9 #
10 #      http://www.apache.org/licenses/LICENSE-2.0
11 #
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17 #
18 # SPDX-License-Identifier: Apache-2.0
19 # ============LICENSE_END=========================================================
20 # this job gets triggered on the specified timer and runs CPS performance
21 # test in the Nordix environment.
22
23 - project:
24     name: cps-performance-test
25     project: cps
26     project-name: cps
27     timer: "0 */2 * * *"
28     mvn_params: "-P include-performance"
29
30     stream:
31       - 'master':
32           branch: '{stream}'
33           jdk-version: java-17
34
35     jobs:
36       - 'onap-{project-name}-{stream}-performance-test-java'
37
38 - project:
39     name: cps-tests-plots
40     project: cps
41     project-name: cps
42     timer: "0 1-23/2 * * *"
43
44     jobs:
45         - 'onap-{project-name}-performance-tests-plots'