From d0c11263abee50131c4aff68dea5bb9adc544b46 Mon Sep 17 00:00:00 2001 From: Mahesh Kumar Gangula Date: Thu, 1 Apr 2021 17:21:47 +0530 Subject: [PATCH] Issue #000 fix: update logs path. --- .circleci/config.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 44eb90b..fe16416 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,6 +4,7 @@ jobs: build: docker: - image: circleci/openjdk:14-jdk-buster-node-browsers-legacy + resource_class: small steps: - checkout - restore_cache: @@ -21,6 +22,7 @@ jobs: docker: - image: circleci/openjdk:14-jdk-buster-node-browsers-legacy - image: circleci/redis:latest + resource_class: small parallelism: 1 steps: - checkout @@ -29,6 +31,8 @@ jobs: - run: name: Setup environment and run tests command: | + find ./ -type f -name "log4j2.xml" -print0 | xargs -0 sed -i -e 's/\/data\/logs/logs/g' + find ./ -type f -name "*.java" -print0 | xargs -0 sed -i -e 's/\/data\//~\//g' mvn clean verify sonar:sonar -Dsonar.projectKey=project-sunbird_knowledge-platform-db-extensions -Dsonar.organization=project-sunbird -Dsonar.host.url=https://sonarcloud.io -Dsonar.surefire.reportsPath=/home/circleci/project/transaction-event-handler/target/surefire-reports - save_cache: paths: