Skip to content

Commit

Permalink
fix another place for sonar-egg
Browse files Browse the repository at this point in the history
  • Loading branch information
verdverm committed Jun 23, 2020
1 parent f4726fa commit 19aa8c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/sc/docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ add_env_var_as_env_prop "${SONAR_USER_HOME:-}" "sonar.userHome"
add_env_var_as_env_prop "${SONAR_PROJECT_BASE_DIR:-}" "sonar.projectBaseDir"

# if not empty, setup pr scan
if [ ! -z $SONAR_PULL_REQUEST ]; then
if [[ "${SONAR_PULL_REQUEST:-}" != "" ]]; then
add_env_var_as_env_prop "${SONAR_BRANCH:-}" "sonar.pullrequest.branch"
add_env_var_as_env_prop "${SONAR_PULL_REQUEST:-}" "sonar.pullrequest.key"
else
Expand Down

0 comments on commit 19aa8c0

Please sign in to comment.