Skip to content

Commit

Permalink
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
@@ -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

0 comments on commit 19aa8c0

Please sign in to comment.