X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=jjb%2Fintegration%2Fintegration-macros.yaml;h=10b0437ab9a07bb6d0411dc4cf4737a2625a1f4d;hb=931c36a25edde54df1e4cacda1ce748293d2587a;hp=781e3763d8e48c18ce668ffd518a2bf82161c982;hpb=e3905fcc3565524a6ab5be1a0fdf147cb6128e54;p=ci-management.git diff --git a/jjb/integration/integration-macros.yaml b/jjb/integration/integration-macros.yaml index 781e3763d..10b0437ab 100644 --- a/jjb/integration/integration-macros.yaml +++ b/jjb/integration/integration-macros.yaml @@ -41,7 +41,7 @@ - builder: name: integration-run-test builders: - - shell: "${WORKSPACE}/test/csit/run-csit.sh ${TESTPLAN} ${TESTOPTIONS}" + - shell: "${WORKSPACE}/run-csit.sh ${TESTPLAN} ${TESTOPTIONS}" - builder: name: integration-autorelease-fix-relativepaths @@ -53,6 +53,26 @@ builders: - shell: "${WORKSPACE}/autorelease/scripts/set-version.sh" +- builder: + name: integration-install-vagrant + builders: + - shell: | + #!/bin/bash + set -ex # Fail build if any setup step fails + sudo add-apt-repository --yes ppa:tiagohillebrandt/vagrant + sudo apt update + sudo apt --yes install libxslt-dev libxml2-dev libvirt-dev zlib1g-dev ruby-dev vagrant + vagrant plugin install vagrant-libvirt + vagrant plugin install vagrant-disksize + vagrant plugin install vagrant-sshfs + vagrant plugin install vagrant-reload + mkdir -p ~/.ssh + +- builder: + name: integration-docker-compose-logs + builders: + - shell: !include-raw: shell/docker-compose-logs.sh + - publisher: name: integration-robot publishers: @@ -62,3 +82,16 @@ unstable-threshold: '{unstable-if}' pass-threshold: '{pass-if}' only-critical: false + +- publisher: + name: integration-docker-compose-logs + publishers: + - postbuildscript: + builders: + - role: BOTH + build-on: + - FAILURE + - SUCCESS + - UNSTABLE + build-steps: + - integration-docker-compose-logs