X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Freleng-macros.yaml;h=390973a5b5ff9b32265eb05dfd69f70cfbe99b87;hb=93fb64409b477096e58dde2eab2637017224faae;hp=4732423d7c8cf72185644ec2e08c8d3bbd5be3a7;hpb=7059d282f972c0a9cfeeb334e243c1f3ffa12508;p=releng%2Fbuilder.git diff --git a/jjb/releng-macros.yaml b/jjb/releng-macros.yaml index 4732423d7..390973a5b 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 @@ -460,6 +477,7 @@ - file-id: 'packer-cloud-env' variable: 'CLOUDENV' - shell: | + #!/bin/bash cd packer varfiles="../packer/vars/*" templates="../packer/templates/*" @@ -485,12 +503,16 @@ - file-id: 'packer-cloud-env' variable: 'CLOUDENV' - shell: | + #!/bin/bash cd packer export PACKER_LOG="yes" && \ export PACKER_LOG_PATH="packer-build.log" && \ packer.io build -color=false -var-file=$CLOUDENV \ -var-file=../packer/vars/{platform}.json \ ../packer/templates/{template}.json + # Split public and private cloud logs + grep -e 'public_cloud' packer-build.log > packer-build_public_cloud.log 2>&1 + grep -e 'private_cloud' packer-build.log > packer-build_private_cloud.log 2>&1 - builder: # TODO: Verify signature after downloading users public key from a locally created