From 9fb003b963826c73cf85446d5b9ea15384f3c059 Mon Sep 17 00:00:00 2001 From: Nigel Babu Date: Mon, 20 Nov 2017 12:51:54 +0530 Subject: Use logs from the workspace Change-Id: Ia70566d5fa33875224114a2c0be2a77cef045b58 --- build-gluster-org/jobs/centos-regression-fb.yml | 1 + build-gluster-org/jobs/centos6-regression.yml | 1 + build-gluster-org/jobs/macros.yml | 10 ++++++++++ build-gluster-org/jobs/regression-test-burn-in.yml | 1 + build-gluster-org/jobs/regression-test-with-multiplex.yml | 1 + build-gluster-org/jobs/smoke.yml | 3 +++ 6 files changed, 17 insertions(+) (limited to 'build-gluster-org') diff --git a/build-gluster-org/jobs/centos-regression-fb.yml b/build-gluster-org/jobs/centos-regression-fb.yml index 1aae15c..6832090 100644 --- a/build-gluster-org/jobs/centos-regression-fb.yml +++ b/build-gluster-org/jobs/centos-regression-fb.yml @@ -26,6 +26,7 @@ - log-text: Build was aborted script: | sudo reboot + - gluster-logs builders: - shell: !include-raw: ../scripts/regression-test-burn-in.sh diff --git a/build-gluster-org/jobs/centos6-regression.yml b/build-gluster-org/jobs/centos6-regression.yml index a5c9ebf..9ef859f 100644 --- a/build-gluster-org/jobs/centos6-regression.yml +++ b/build-gluster-org/jobs/centos6-regression.yml @@ -41,6 +41,7 @@ - matches: - log-text: Build was aborted script: !include-raw: ../scripts/regression-abort.sh + - gluster-logs parameters: - string: diff --git a/build-gluster-org/jobs/macros.yml b/build-gluster-org/jobs/macros.yml index a7a39a3..c05b5b9 100644 --- a/build-gluster-org/jobs/macros.yml +++ b/build-gluster-org/jobs/macros.yml @@ -42,3 +42,13 @@ default-excludes: true fingerprint: false only-if-success: false + +- publisher: + name: gluster-logs + publishers: + - archive: + allow-empty: false + artifacts: "glusterfs-logs.tgz" + default-excludes: true + fingerprint: false + only-if-success: false diff --git a/build-gluster-org/jobs/regression-test-burn-in.yml b/build-gluster-org/jobs/regression-test-burn-in.yml index abec1e1..17e1d4a 100644 --- a/build-gluster-org/jobs/regression-test-burn-in.yml +++ b/build-gluster-org/jobs/regression-test-burn-in.yml @@ -28,6 +28,7 @@ - matches: - log-text: Build was aborted script: !include-raw: ../scripts/regression-abort.sh + - gluster-logs builders: - shell: !include-raw: ../scripts/regression-test-burn-in.sh diff --git a/build-gluster-org/jobs/regression-test-with-multiplex.yml b/build-gluster-org/jobs/regression-test-with-multiplex.yml index 9c8c03a..f9e2383 100644 --- a/build-gluster-org/jobs/regression-test-with-multiplex.yml +++ b/build-gluster-org/jobs/regression-test-with-multiplex.yml @@ -28,6 +28,7 @@ - matches: - log-text: Build was aborted script: !include-raw: ../scripts/regression-abort.sh + - gluster-logs builders: - shell: !include-raw: ../scripts/regression-test-with-multiplex.sh diff --git a/build-gluster-org/jobs/smoke.yml b/build-gluster-org/jobs/smoke.yml index 675de37..5010d68 100644 --- a/build-gluster-org/jobs/smoke.yml +++ b/build-gluster-org/jobs/smoke.yml @@ -41,6 +41,9 @@ description: 'Name of the branch you want to build from. We usually build from master' name: GERRIT_BRANCH + publishers: + - gluster-logs + builders: - shell: !include-raw: ../scripts/smoke.sh -- cgit