Skip to content

Commit

Permalink
ED-4000 feat: Github actions instead of Jenkins-25
Browse files Browse the repository at this point in the history
  • Loading branch information
princegupta1131 committed Jun 11, 2024
1 parent 3477949 commit 30b15d1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,12 @@ jobs:
run: |
if [ -z "${{ secrets.SONAR_TOKEN }}" ]; then
echo "Error: SONAR_TOKEN is not set."
exit 1
else
echo "SONAR_TOKEN is set."
fi
# Debug: Print the masked SONAR_TOKEN
# Debug: Print the masked SONAR_TOKEN
- name: Print SONAR_TOKEN
run: echo "SONAR_TOKEN=${{ secrets.SONAR_TOKEN }}PWR****123"
# Ensure sonar-project.properties exists and print its content for debugging
Expand All @@ -151,7 +151,7 @@ jobs:
run: |
sonar-scanner \
-Dsonar.projectKey=Sunbird-Ed_SunbirdEd-portal \
-Dsonar.organization=your_organization \
-Dsonar.organization=sunbird-ed \
-Dsonar.sources=src/app/client/src \
-Dsonar.host.url=https://sonarcloud.io \
-Dsonar.login=$SONAR_TOKEN

0 comments on commit 30b15d1

Please sign in to comment.