java-version: openjdk8
nexus-iq-cli-version: 1.44.0-01
nexus-iq-namespace: "" # Recommend a trailing dash when set. Example: odl-
- pre-build-script: "# pre-build script goes here"
+ pre-build-script: " # pre-build script goes here"
stream: master
submodule-recursive: true
submodule-timeout: 10
name: "{project-name}-python-clm-{stream}"
id: gerrit-python-xc-clm
<<: *lf_python_common
- # yamllint disable-line rule:key-duplicates
<<: *lf_python_xc_clm
######################
name: "{project-name}-python-clm-{stream}"
id: github-python-xc-clm
<<: *lf_python_common
- # yamllint disable-line rule:key-duplicates
<<: *lf_python_xc_clm
properties:
mvn-settings: "{mvn-settings}"
mvn-version: "{mvn-version}"
sonarcloud-project-key: "{sonarcloud-project-key}"
+ # yamllint disable-line rule:line-length
sonarcloud-project-organization: "{sonarcloud-project-organization}"
sonarcloud-api-token: "{sonarcloud-api-token}"
# With SonarQube
name: "{project-name}-tox-sonar"
id: gerrit-tox-sonar
<<: *lf_python_common
- # yamllint disable-line rule:key-duplicates
<<: *lf_tox_sonar
######################
name: "{project-name}-tox-sonar"
id: github-tox-sonar
<<: *lf_python_common
- # yamllint disable-line rule:key-duplicates
<<: *lf_tox_sonar
properties:
# Default parameters #
######################
+ archive-artifacts: >
+ **/*.log
branch: master
build-days-to-keep: 7
build-timeout: 15
tox-dir: "."
tox-envs: ""
- disabled: "{disable-job}"
-
gerrit_trigger_file_paths:
- compare-type: ANT
pattern: ".*"
github_included_regions:
- ".*"
+ #####################
+ # Job Configuration #
+ #####################
+
+ project-type: freestyle
+ node: "{build-node}"
+ disabled: "{disable-job}"
+
+ properties:
+ - lf-infra-properties:
+ build-days-to-keep: "{build-days-to-keep}"
+
parameters:
- lf-infra-parameters:
project: "{project}"
description: |
If DRY_RUN is enabled artifacts are not published.
+ publishers:
+ - lf-infra-publish
+
+- lf_pypi_common_wrappers: &lf_pypi_common_wrappers
+ name: lf-pypi-common-wrappers
+
+ wrappers:
+ - lf-infra-wrappers:
+ build-timeout: "{build-timeout}"
+ jenkins-ssh-credential: "{jenkins-ssh-credential}"
+
+- lf_pypi_release_wrappers: &lf_pypi_release_wrappers
+ name: lf-pypi-release-wrappers
+
+ wrappers:
+ - lf-infra-wrappers:
+ build-timeout: "{build-timeout}"
+ jenkins-ssh-credential: "{jenkins-ssh-release-credential}"
+
- lf_pypi_verify_builders: &lf_pypi_verify_builders
name: lf-pypi-verify-builders
- job-template:
name: "{project-name}-pypi-verify-{stream}"
id: gerrit-pypi-verify
- <<: *lf_python_common
- # yamllint disable-line rule:key-duplicates
<<: *lf_pypi_common
+ <<: *lf_pypi_common_wrappers
<<: *lf_pypi_verify_builders
scm:
exclude-no-code-change: false
- draft-published-event
- comment-added-contains-event:
+ # yamllint disable-line rule:line-length
comment-contains-value: '^Patch Set\s+\d+:\s+(recheck|reverify)\s*$'
projects:
- project-compare-type: ANT
- job-template:
name: "{project-name}-pypi-verify-{stream}"
id: github-pypi-verify
- <<: *lf_python_common
- # yamllint disable-line rule:key-duplicates
<<: *lf_pypi_common
+ <<: *lf_pypi_common_wrappers
<<: *lf_pypi_verify_builders
properties:
- job-template:
name: "{project-name}-pypi-merge-{stream}"
id: gerrit-pypi-merge
- <<: *lf_python_common
- # yamllint disable-line rule:key-duplicates
<<: *lf_pypi_common
+ <<: *lf_pypi_common_wrappers
<<: *lf_pypi_merge_builders
cron: ""
- job-template:
name: "{project-name}-pypi-merge-{stream}"
id: github-pypi-merge
- <<: *lf_python_common
- # yamllint disable-line rule:key-duplicates
<<: *lf_pypi_common
+ <<: *lf_pypi_common_wrappers
<<: *lf_pypi_merge_builders
cron: ""
- compare-type: REG_EXP
pattern: '(releases\/.*\.yaml|\.releases\/.*\.yaml)'
+ # yamllint disable-line rule:line-length
# github_release_included_regions MUST match gerrit_release_trigger_file_paths
github_release_included_regions:
- 'releases\/.*\.yaml'
- job-template:
name: "{project-name}-pypi-release-verify-{stream}"
id: gerrit-pypi-release-verify
- <<: *lf_python_common
- # yamllint disable-line rule:key-duplicates
<<: *lf_pypi_common
+ <<: *lf_pypi_common_wrappers
<<: *lf_pypi_release_common
<<: *lf_pypi_release_verify_builders
exclude-no-code-change: false
- draft-published-event
- comment-added-contains-event:
+ # yamllint disable-line rule:line-length
comment-contains-value: '^Patch Set\s+\d+:\s+(recheck|reverify)\s*$'
projects:
- project-compare-type: "ANT"
- job-template:
name: "{project-name}-pypi-release-verify-{stream}"
id: github-pypi-release-verify
- <<: *lf_python_common
- # yamllint disable-line rule:key-duplicates
<<: *lf_pypi_common
+ <<: *lf_pypi_common_wrappers
<<: *lf_pypi_release_common
<<: *lf_pypi_release_verify_builders
- job-template:
name: "{project-name}-pypi-release-merge-{stream}"
id: gerrit-pypi-release-merge
- <<: *lf_python_common
- # yamllint disable-line rule:key-duplicates
<<: *lf_pypi_common
+ <<: *lf_pypi_release_wrappers
<<: *lf_pypi_release_common
<<: *lf_pypi_release_merge_builders
- job-template:
name: "{project-name}-pypi-release-merge-{stream}"
id: github-pypi-release-merge
- <<: *lf_python_common
- # yamllint disable-line rule:key-duplicates
<<: *lf_pypi_common
+ <<: *lf_pypi_release_wrappers
<<: *lf_pypi_release_common
<<: *lf_pypi_release_merge_builders