Update sonar_preview.sh
Test
sonar_preview
section_end:1587610914:prepare_scriptsection_start:1587610914:get_sourcesFetching changes...
Reinitialized existing Git repository in /home/gitlab-runner/builds/7254475d/0/root/print-demo/.git/
From http://git.zhiweidata.top/root/print-demo
c2efbfd..f774715 develop -> origin/develop
Checking out f774715e as develop...
Skipping Git submodules setupsection_end:1587610914:get_sourcessection_start:1587610914:restore_cachesection_end:1587610914:restore_cachesection_start:1587610914:download_artifactssection_end:1587610914:download_artifactssection_start:1587610914:build_script$ bash sonar-scanner
bash: sonar-scanner: No such file or directorysection_end:1587610914:build_scriptsection_start:1587610914:after_scriptsection_end:1587610914:after_scriptsection_start:1587610914:upload_artifacts_on_failuresection_end:1587610914:upload_artifacts_on_failureERROR: Job failed: exit status 1