Skip to content

Commit

Permalink
updated sonarlint_generate_config.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
HariSekhon committed Feb 25, 2025
1 parent 3727f9c commit 35c72b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cicd/sonarlint_generate_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ git_root="$(git_root)"

timestamp "Switching to Git root: $git_root"
echo
cd "$git_root"

timestamp "Parsing $sonar_project_properties"
timestamp "Parsing $PWD/$sonar_project_properties"
org="$(awk -F= '/^[[:space:]]*sonar.organization/{print $2}' "$sonar_project_properties" | sed 's/[[:space:]]//g')"
project_key="$(awk -F= '/^[[:space:]]*sonar.projectKey/{print $2}' "$sonar_project_properties" | sed 's/[[:space:]]//g')"

Expand Down

0 comments on commit 35c72b0

Please sign in to comment.