X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=jjb%2Flf-maven-jobs.yaml;h=d29011561b8f04d389b5e899b3a75a0cd289c959;hb=refs%2Fchanges%2F36%2F8436%2F2;hp=92946503c1887d13649d7469a78d1fcc58f9a005;hpb=44360a16ab50eb23b777e7bace52efb7ad3edd7e;p=releng%2Fglobal-jjb.git diff --git a/jjb/lf-maven-jobs.yaml b/jjb/lf-maven-jobs.yaml index 92946503..d2901156 100644 --- a/jjb/lf-maven-jobs.yaml +++ b/jjb/lf-maven-jobs.yaml @@ -48,6 +48,17 @@ - github-maven-javadoc-publish - github-maven-javadoc-verify +########## +# Macros # +########## + +- builder: + name: lf-maven-deploy + builders: + - shell: !include-raw: + - ../shell/common-variables.sh + - ../shell/maven-deploy.sh + #################### # COMMON FUNCTIONS # #################### @@ -55,6 +66,21 @@ - lf_maven_common: &lf_maven_common name: lf-maven-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}' jdk: '{java-version}' @@ -103,7 +129,6 @@ # Default parameters # ###################### - archive-artifacts: '' branch: master build-days-to-keep: 30 # 30 days for troubleshooting purposes build-timeout: 30 @@ -217,7 +242,6 @@ # Default parameters # ###################### - archive-artifacts: '' branch: master build-days-to-keep: 30 # 30 days in case a release takes long to get approved. build-timeout: 30 @@ -331,7 +355,6 @@ # Default parameters # ###################### - archive-artifacts: '' branch: master build-days-to-keep: 30 # 30 days in case a release takes long to get approved. build-timeout: 30 @@ -442,7 +465,6 @@ # Default parameters # ###################### - archive-artifacts: '' branch: master build-days-to-keep: 30 # 30 days in case we need to troubleshoot build-timeout: 30 @@ -491,7 +513,7 @@ - ../shell/common-variables.sh - ../shell/maven-fetch-metadata.sh - ../shell/maven-build.sh - - ../shell/maven-deploy.sh + - lf-maven-deploy - lf-provide-maven-settings-cleanup publishers: @@ -573,7 +595,6 @@ # Default parameters # ###################### - archive-artifacts: '' branch: master build-days-to-keep: 30 # 30 days in case a release takes long to get approved. build-timeout: 30 @@ -685,7 +706,6 @@ # Default parameters # ###################### - archive-artifacts: '' branch: master # Sonar should always be run on master branch build-days-to-keep: 7 build-timeout: 30 @@ -836,7 +856,6 @@ # Default parameters # ###################### - archive-artifacts: '' branch: master build-days-to-keep: 7 build-timeout: 60 @@ -958,7 +977,6 @@ # Default parameters # ###################### - archive-artifacts: '' branch: master build-days-to-keep: 7 build-timeout: 60