Skip to content

Commit

Permalink
Update car-demo-pipeline.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
abidknashtech authored Jan 24, 2024
1 parent 6099cee commit 9347ed3
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/car-demo-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,23 @@ env:
PROJECT_ID: ${{ secrets.GKE_PROJECT }}

jobs:
sonarcloud:
name: SonarCloud
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: SonarCloud Scan
working-directory: shipment-service
run: mvn clean verify sonar:sonar -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=nashtech -Dsonar.projectKey=shipment-service
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
setup-build-publish-deploy:
runs-on: ubuntu-latest
permissions:
Expand Down

0 comments on commit 9347ed3

Please sign in to comment.