blob: de70a93e9f44959a636bf5652cc710f2a8b70412 [file] [log] [blame]
LF Jenkins CI9e98e642020-10-20 20:07:19 +00001---
2- project:
3 name: smo-ves-project-view
4 project-name: smo-ves
5 views:
6 - project-view
7
8- project:
9 name: smo-ves-info
10 project: smo/ves
11 project-name: smo-ves
12 build-node: centos7-builder-1c-1g
13 jobs:
14 - gerrit-info-yaml-verify
Mahesh Jethanandanicf9d2f62021-12-15 17:25:30 -080015
16- ves_docker_common: &ves_docker_common
17 # values apply to all docker projects
18 name: ves-docker-common
19 # git repo
20 project: smo/ves
21 # jenkins job name prefix
22 project-name: smo-ves
23 # maven settings file has docker credentials
24 mvn-settings: smo-ves-settings
25
26- project:
27 <<: *ves_docker_common
28 name: smo-ves
29 # image name
30 docker-name: 'smo-collector'
31 # Dockerfile is in a subdir
32 docker-root: collector
33 # source of docker tag
34 container-tag-method: yaml-file
35 jobs:
36 - '{project-name}-gerrit-docker-jobs'
37 stream:
38 - master:
39 branch: master
40
41- project:
42 <<: *ves_docker_common
43 name: smo-ves-release
44 # maven release requires sigul which requires centos
45 # container release requires docker
46 build-node: centos7-docker-2c-8g
47 jobs:
48 - '{project-name}-gerrit-release-jobs'
Mahesh Jethanandani1875ce62022-01-18 16:58:11 -080049
50- project:
51 <<: *ves_docker_common
52 name: smo-ves-sonarqube
53 python-version: python3
54 # the install script assumes an ubuntu image
55 build-node: ubuntu1804-builder-2c-2g
56 # pre-build-script: !include-raw-escape:
57 # - ../shell/install-deb-rmr.sh
58 sonar-project-file: ""
59 sonar-properties: |
60 sonar.login={sonarcloud_api_token}
61 sonar.projectKey={sonarcloud_project_organization}_{project-name}
62 sonar.projectName={project-name}
63 sonar.organization={sonarcloud_project_organization}
64 sonar.build.sourceEncoding=UTF-8
65 sonar.sources=a1
66 sonar.python.coverage.reportPaths=coverage.xml
67 jobs:
68 - gerrit-tox-sonarqube