From 7e3d69c4438f30d22eab6e16d6224101fc5988a8 Mon Sep 17 00:00:00 2001 From: sabiaparveen1 <135812079+sabiaparveen1@users.noreply.github.com> Date: Thu, 25 Jan 2024 15:54:34 +0530 Subject: [PATCH] Update car-demo-pipeline.yml --- .github/workflows/car-demo-pipeline.yml | 76 ++++++++++++------------- 1 file changed, 38 insertions(+), 38 deletions(-) diff --git a/.github/workflows/car-demo-pipeline.yml b/.github/workflows/car-demo-pipeline.yml index 79c0dbbb..ba2ba2f5 100644 --- a/.github/workflows/car-demo-pipeline.yml +++ b/.github/workflows/car-demo-pipeline.yml @@ -20,47 +20,47 @@ jobs: distribution: 'adopt' java-version: '19' - - name: Cache SonarCloud packages - uses: actions/cache@v2 - with: - path: | - ~/.sonar/cache - ~/.sonar/cache-* - key: ${{ runner.os }}-sonar - restore-keys: | - ${{ runner.os }}-sonar + # - name: Cache SonarCloud packages + # uses: actions/cache@v2 + # with: + # path: | + # ~/.sonar/cache + # ~/.sonar/cache-* + # key: ${{ runner.os }}-sonar + # restore-keys: | + # ${{ runner.os }}-sonar - - name: Run SonarCloud for Each Repository - run: | - cat projects-changes-deploy.txt | while read repo; do - echo "Processing repository: $repo" - cd $repo - mvn clean install sonar:sonar - cd .. - done - sonarcloud1: - runs-on: ubuntu-latest + # # - name: Run SonarCloud for Each Repository + # # run: | + # # cat projects-changes-deploy.txt | while read repo; do + # # echo "Processing repository: $repo" + # # cd $repo + # # mvn clean install sonar:sonar + # # cd .. + # # done + # # sonarcloud1: + # # runs-on: ubuntu-latest - steps: - - name: Checkout Repository - uses: actions/checkout@v2 - - name: List Directory Contents - run: ls -R - - name: Set up JDK - uses: actions/setup-java@v2 - with: - distribution: 'adopt' - java-version: '19' + # # steps: + # # - name: Checkout Repository + # # uses: actions/checkout@v2 + # # - name: List Directory Contents + # # run: ls -R + # # - name: Set up JDK + # # uses: actions/setup-java@v2 + # # with: + # # distribution: 'adopt' + # # java-version: '19' - - name: Cache SonarCloud packages - uses: actions/cache@v2 - with: - path: | - ~/.sonar/cache - ~/.sonar/cache-* - key: ${{ runner.os }}-sonar - restore-keys: | - ${{ runner.os }}-sonar + # # - name: Cache SonarCloud packages + # # uses: actions/cache@v2 + # # with: + # # path: | + # # ~/.sonar/cache + # # ~/.sonar/cache-* + # # key: ${{ runner.os }}-sonar + # # restore-keys: | + # # ${{ runner.os }}-sonar # - name: Build and Analyze with SonarCloud # env: