name: ARCHIVE_ARTIFACTS
default: >
{artifacts}
+ # Before adding more here, beware of https://jira.linuxfoundation.org/browse/RELENG-280
**/target/surefire-reports/*-output.txt
+ **/target/failsafe-reports/failsafe-summary.xml
**/hs_err_*.log
**/target/feature/feature.xml
**/*.hprof
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
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/*"
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" && \