X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Freleng-macros.yaml;h=cb837401cf46b95277e05ddb520898749738b346;hb=a345dde393688cbe66a0171e184e4e02f94d2371;hp=fc4395df47a0908d795df551864af5f947930938;hpb=ac3587e82bcbd1855852383627c20899f1de7622;p=releng%2Fbuilder.git diff --git a/jjb/releng-macros.yaml b/jjb/releng-macros.yaml index fc4395df4..cb837401c 100644 --- a/jjb/releng-macros.yaml +++ b/jjb/releng-macros.yaml @@ -23,7 +23,10 @@ name: ARCHIVE_ARTIFACTS default: > {artifacts} - **/target/surefire-reports/*-output.txt + **/target/surefire-reports/*.txt + **/target/surefire-reports/*.xml + **/target/failsafe-reports/*.txt + **/target/failsafe-reports/*.xml **/hs_err_*.log **/target/feature/feature.xml **/*.hprof @@ -302,6 +305,20 @@ healthy: 50 unhealthy: 40 +- builder: + # Deploys a maven site to Nexus using lftools nexus-zip command + name: opendaylight-infra-deploy-maven-site + builders: + - lf-provide-maven-settings: + global-settings-file: global-settings + settings-file: '{settings-file}' + - lf-infra-create-netrc: + server-id: opendaylight-site + - shell: !include-raw-escape: + - global-jjb/shell/lftools-install.sh + - opendaylight-infra-deploy-maven-site.sh + - lf-provide-maven-settings-cleanup + - builder: name: opendaylight-infra-stack # opendaylight-infra-stack.sh has a required variable {stack-template} that @@ -461,6 +478,8 @@ variable: 'CLOUDENV' - shell: | #!/bin/bash + # Ensure we fail the job if any steps fail. + set -eu -o pipefail cd packer varfiles="../packer/vars/*" templates="../packer/templates/*" @@ -487,6 +506,8 @@ variable: 'CLOUDENV' - shell: | #!/bin/bash + # Ensure we fail the job if any steps fail. + set -eu -o pipefail cd packer export PACKER_LOG="yes" && \ export PACKER_LOG_PATH="packer-build.log" && \