When redefining any Jenkins section we must redefine everything
that is being overrided otherwise previous configuration will
be lost. This patch fixes the build-days-to-keep parameter that
is lost in the GitHub jobs due to the github property override.
Change-Id: I8a127344189215367c3546d0b3222d989ea74800
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
<<: *lf_jenkins_cfg_merge
properties:
<<: *lf_jenkins_cfg_merge
properties:
+ - lf-infra-properties:
+ project: '{project}'
+ build-days-to-keep: 1
- github:
url: '{git-url}/{github-org}/{project}'
- github:
url: '{git-url}/{github-org}/{project}'
<<: *lf_jjb_deploy_job
properties:
<<: *lf_jjb_deploy_job
properties:
+ - lf-infra-properties:
+ project: '{project}'
+ build-days-to-keep: 1
- github:
url: '{git-url}/{github-org}/{project}'
- github:
url: '{git-url}/{github-org}/{project}'
#####################
properties:
#####################
properties:
+ - lf-infra-properties:
+ project: '{project}'
+ build-days-to-keep: 7
- github:
url: '{git-url}/{github-org}/{project}'
- github:
url: '{git-url}/{github-org}/{project}'
#####################
properties:
#####################
properties:
+ - lf-infra-properties:
+ project: '{project}'
+ build-days-to-keep: 7
- github:
url: '{git-url}/{github-org}/{project}'
- github:
url: '{git-url}/{github-org}/{project}'
<<: *lf_license_check
properties:
<<: *lf_license_check
properties:
+ - lf-infra-properties:
+ build-days-to-keep: '{build-days-to-keep}'
- github:
url: '{git-url}/{github-org}/{project}'
- github:
url: '{git-url}/{github-org}/{project}'
#####################
properties:
#####################
properties:
+ - lf-infra-properties:
+ project: '{project}'
+ build-days-to-keep: 7
- github:
url: '{git-url}/{github-org}/{project}'
- github:
url: '{git-url}/{github-org}/{project}'
#####################
properties:
#####################
properties:
+ - lf-infra-properties:
+ project: '{project}'
+ build-days-to-keep: 7
- github:
url: '{git-url}/{github-org}/{project}'
- github:
url: '{git-url}/{github-org}/{project}'
<<: *lf_maven_clm
properties:
<<: *lf_maven_clm
properties:
+ - lf-infra-properties:
+ build-days-to-keep: '{build-days-to-keep}'
- github:
url: '{git-url}/{github-org}/{project}'
- github:
url: '{git-url}/{github-org}/{project}'
<<: *lf_maven_javadoc_publish
properties:
<<: *lf_maven_javadoc_publish
properties:
+ - lf-infra-properties:
+ build-days-to-keep: '{build-days-to-keep}'
- github:
url: '{git-url}/{github-org}/{project}'
- github:
url: '{git-url}/{github-org}/{project}'
<<: *lf_maven_javadoc_verify
properties:
<<: *lf_maven_javadoc_verify
properties:
+ - lf-infra-properties:
+ build-days-to-keep: '{build-days-to-keep}'
- github:
url: '{git-url}/{github-org}/{project}'
- github:
url: '{git-url}/{github-org}/{project}'
<<: *lf_maven_merge
properties:
<<: *lf_maven_merge
properties:
+ - lf-infra-properties:
+ build-days-to-keep: '{build-days-to-keep}'
- github:
url: '{git-url}/{github-org}/{project}'
- github:
url: '{git-url}/{github-org}/{project}'
<<: *lf_maven_release
properties:
<<: *lf_maven_release
properties:
+ - lf-infra-properties:
+ build-days-to-keep: '{build-days-to-keep}'
- github:
url: '{git-url}/{github-org}/{project}'
- github:
url: '{git-url}/{github-org}/{project}'
<<: *lf_maven_sonar
properties:
<<: *lf_maven_sonar
properties:
+ - lf-infra-properties:
+ build-days-to-keep: '{build-days-to-keep}'
- github:
url: '{git-url}/{github-org}/{project}'
- github:
url: '{git-url}/{github-org}/{project}'
<<: *lf_maven_verify
properties:
<<: *lf_maven_verify
properties:
+ - lf-infra-properties:
+ build-days-to-keep: '{build-days-to-keep}'
- github:
url: '{git-url}/{github-org}/{project}'
- github:
url: '{git-url}/{github-org}/{project}'
<<: *lf_node_verify
properties:
<<: *lf_node_verify
properties:
+ - lf-infra-properties:
+ build-days-to-keep: '{build-days-to-keep}'
- github:
url: '{git-url}/{github-org}/{project}'
- github:
url: '{git-url}/{github-org}/{project}'
<<: *lf_python_xc_clm
properties:
<<: *lf_python_xc_clm
properties:
+ - lf-infra-properties:
+ build-days-to-keep: '{build-days-to-keep}'
- github:
url: '{git-url}/{github-org}/{project}'
- github:
url: '{git-url}/{github-org}/{project}'
<<: *lf_tox_sonar
properties:
<<: *lf_tox_sonar
properties:
+ - lf-infra-properties:
+ build-days-to-keep: '{build-days-to-keep}'
- github:
url: '{git-url}/{github-org}/{project}'
- github:
url: '{git-url}/{github-org}/{project}'
<<: *lf_tox_verify
properties:
<<: *lf_tox_verify
properties:
+ - lf-infra-properties:
+ build-days-to-keep: '{build-days-to-keep}'
- github:
url: '{git-url}/{github-org}/{project}'
- github:
url: '{git-url}/{github-org}/{project}'
<<: *lf_rtd_merge
properties:
<<: *lf_rtd_merge
properties:
+ - lf-infra-properties:
+ build-days-to-keep: '{build-days-to-keep}'
- github:
url: '{git-url}/{github-org}/{project}'
- github:
url: '{git-url}/{github-org}/{project}'
<<: *lf_rtd_verify
properties:
<<: *lf_rtd_verify
properties:
+ - lf-infra-properties:
+ build-days-to-keep: '{build-days-to-keep}'
- github:
url: '{git-url}/{github-org}/{project}'
- github:
url: '{git-url}/{github-org}/{project}'