summaryrefslogtreecommitdiffstats
path: root/jjb/integration
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-03-31 06:56:10 -0700
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-04-01 08:40:22 +0000
commitbcdbfa0f445f9d26efd1f649a4282ecabfdc16a2 (patch)
tree8393c96f9047571518600955829d3903c874ecf4 /jjb/integration
parent4b168222b4d63df4a663e6b2989cd714cbc273c7 (diff)
Setup integration-docker-compose-logs publisher
Publisher aimed at printing Docker Compose services info at post build stage. Change-Id: Iacad5239243101b91c2aa3d10017748f95b10bcb Issue-ID: INT-1508 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'jjb/integration')
-rw-r--r--jjb/integration/integration-macros.yaml18
-rw-r--r--jjb/integration/integration-templates-docker.yaml1
2 files changed, 19 insertions, 0 deletions
diff --git a/jjb/integration/integration-macros.yaml b/jjb/integration/integration-macros.yaml
index aeb793f6f..99647507b 100644
--- a/jjb/integration/integration-macros.yaml
+++ b/jjb/integration/integration-macros.yaml
@@ -66,6 +66,11 @@
vagrant plugin install vagrant-disksize
mkdir -p ~/.ssh
+- builder:
+ name: integration-docker-compose-logs
+ builders:
+ - shell: !include-raw: shell/docker-compose-logs.sh
+
- publisher:
name: integration-robot
publishers:
@@ -75,3 +80,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
diff --git a/jjb/integration/integration-templates-docker.yaml b/jjb/integration/integration-templates-docker.yaml
index 6ef2fc600..caa0ad756 100644
--- a/jjb/integration/integration-templates-docker.yaml
+++ b/jjb/integration/integration-templates-docker.yaml
@@ -165,4 +165,5 @@
- shell: '{script}'
publishers:
+ - integration-docker-compose-logs
- lf-infra-publish