+- job-group:
+ name: '{project-name}-python-jobs'
+
+ # This job group contains all the recommended jobs that should be deployed
+ # for any project ci that is using Gerrit.
+
+ jobs:
+ - gerrit-python-xc-clm
+ - gerrit-tox-verify
+
+- job-group:
+ name: '{project-name}-github-python-jobs'
+
+ # This job group contains all the recommended jobs that should be deployed
+ # for any project ci that is using GitHub.
+
+ jobs:
+ - github-python-xc-clm
+ - github-tox-verify
+
+##########
+# Macros #
+##########
+
+- builder:
+ name: lf-infra-tox-install
+ builders:
+ - inject:
+ properties-content: 'PYTHON_VERSION={python-version}'
+ - shell: !include-raw-escape: ../shell/tox-install.sh
+
+- builder:
+ name: lf-infra-clm-python
+ builders:
+ - inject:
+ properties-content: 'CLM_PROJECT_NAME={clm-project-name}'
+ - shell: !include-raw-escape:
+ - ../shell/sonar-cli.sh
+
+####################
+# COMMON FUNCTIONS #
+####################
+
+- lf_python_common: &lf_python_common
+ name: lf-python-common
+
+ ######################
+ # Default parameters #
+ ######################
+
+ archive-artifacts: >
+ **/*.log
+ **/hs_err_*.log
+ **/target/**/feature.xml
+ **/target/failsafe-reports/failsafe-summary.xml
+ **/target/surefire-reports/*-output.txt
+
+ #####################
+ # Job Configuration #
+ #####################
+
+ project-type: freestyle
+ node: '{build-node}'
+
+ properties:
+ - lf-infra-properties:
+ build-days-to-keep: '{build-days-to-keep}'
+
+ parameters:
+ - lf-infra-parameters:
+ project: '{project}'
+ branch: '{branch}'
+ stream: '{stream}'
+ lftools-version: '{lftools-version}'
+ - string:
+ name: NEXUS_IQ_CLI_JAR
+ default: nexus-iq-cli-1.44.0-01.jar
+ description: Nexus IQ CLI package to download and use.
+ - string:
+ name: ARCHIVE_ARTIFACTS
+ default: '{archive-artifacts}'
+ description: Artifacts to archive to the logs server.
+
+ wrappers:
+ - lf-infra-wrappers:
+ build-timeout: '{build-timeout}'
+ jenkins-ssh-credential: '{jenkins-ssh-credential}'
+
+ publishers:
+ - lf-infra-publish
+