blob: e5c0112bba366ba1ee16953792a9bd7566cc1a1a [file] [log] [blame]
---
- project:
name: smo-teiv-project-view
project-name: smo-teiv
views:
- project-view
- project:
name: smo-teiv-info
project: smo/teiv
project-name: smo-teiv
build-node: centos7-builder-1c-1g
branch: master
jobs:
- gerrit-info-yaml-verify
- _smo_teiv_jdk_common: &smo_teiv_jdk_common
name: smo-teiv-jdk-common
# git repo
project: smo/teiv
# jenkins job name prefix
project-name: smo-teiv
# maven settings file has docker credentials
mvn-settings: smo-teiv-settings
mvn-version: mvn36
java-version: openjdk17
jacoco-exclude-pattern: !include-raw-escape: coverage-exclude-pattern.txt
- project:
<<: *smo_teiv_jdk_common
name: smo-teiv-maven-docker
mvn-params: -Dbuild.number=${{BUILD_NUMBER}}
jobs:
- gerrit-maven-docker-verify
- gerrit-maven-docker-merge
- gerrit-maven-docker-stage
stream:
- master:
branch: master
- j-release:
branch: j-release
# smo:teiv/
# Maven artifacts for smo-teiv/
- project:
<<: *smo_teiv_jdk_common
name: smo-teiv-maven
# unlike other repos, maven verify/stage does require docker,
# so is on same node as docker jobs
mvn-opts: "-Ddocker.skip=true"
# build-node: ubuntu1804-builder-4c-4g
build-node: ubuntu1804-docker-4c-4g
jobs:
- gerrit-maven-stage
- gerrit-maven-clm
- gerrit-maven-verify
- gerrit-maven-verify-dependencies
stream:
- master:
branch: master
- j-release:
branch: j-release
- project:
<<: *smo_teiv_jdk_common
name: smo-teiv-release
# maven release requires sigul which requires centos
# container release requires docker
build-node: centos7-docker-2c-8g
jobs:
- "{project-name}-gerrit-release-jobs"
- project:
<<: *smo_teiv_jdk_common
name: smo-teiv-sonar
project-name: smo-teiv
# template goal install builds docker image unnecessarily
mvn-params: "-Ddocker.skip=true"
sonarcloud: true
sonarcloud-api-token: "{sonarcloud_api_token}"
sonarcloud-project-key: "smo-teiv"
sonarcloud-project-organization: "{sonarcloud_project_organization}"
jobs:
- gerrit-maven-sonar