From 7552ffb5a4ea3f602428f0eba505edd8185818b6 Mon Sep 17 00:00:00 2001
From: Deepa_Kumari <deepa_kumari@epam.com>
Date: Wed, 27 Sep 2023 13:27:21 +0530
Subject: [PATCH] adding svc logs as artifact

---
 devops/core-plus/pipeline.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/devops/core-plus/pipeline.yml b/devops/core-plus/pipeline.yml
index 79634b444..2913f6ea9 100644
--- a/devops/core-plus/pipeline.yml
+++ b/devops/core-plus/pipeline.yml
@@ -68,6 +68,7 @@ core-plus-tests:
     ENVIRONMENT: dev #if this is not specified, it just assumes that the service is running locally
     PARTITION_BASE_URL: http://partition_service_image:8080/
   script:
+    - kubectl logs partition_service_image -A > svc0.log
     - echo "--- Install psql ---"
     - apt-get update && apt-get install -y postgresql-client libpq-dev jq
     - echo "--- Bootstrap tables ---"
@@ -85,6 +86,7 @@ core-plus-tests:
     when: always
     paths:
       - test-results.log
+      - svc0.log
     expire_in: 1 days
   only:
     variables:
-- 
GitLab