diff --git a/devops/core-plus/pipeline.yml b/devops/core-plus/pipeline.yml
index 2913f6ea918f66ad0e23fa15be2655a7c557b385..d7ce38036685e7621045ce1d2cb7fe956fc831df 100644
--- a/devops/core-plus/pipeline.yml
+++ b/devops/core-plus/pipeline.yml
@@ -68,12 +68,12 @@ 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
+    - apt-get update && apt-get install -y postgresql-client libpq-dev jq kubectl
     - echo "--- Bootstrap tables ---"
     - chmod +x devops/core-plus/test/bootstrap.sh
     - devops/core-plus/test/bootstrap.sh
+    - kubectl logs partition_service_image -A > svc0.log
     - echo "--- Run integration tests ---"
     - >
       $MAVEN_BUILD . test-results.log