File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,12 +14,13 @@ def runSonnarForPythonVersion(sourceDir, ver){
1414 }
1515
1616 // Only run Sonar once.
17+ // Check for new versions at https://binaries.sonarsource.com/?prefix=Distribution/sonar-scanner-cli/
1718 if(ver == 3.11) {
1819 sonarExec="cd /root/ && \
19- wget -q https://github. com/SonarSource /sonar-scanner-cli/archive/refs/tags/ 4.8.1.3023.zip && \
20- unzip -q 4.8.1.3023.zip && \
20+ wget -q https://binaries.sonarsource. com/Distribution /sonar-scanner-cli/sonar-scanner-cli- 4.8.1.3023-linux .zip && \
21+ unzip -q sonar-scanner-cli- 4.8.1.3023-linux .zip && \
2122 cd /source && \
22- /root/sonar-scanner-4.8.1.3023/bin/sonar-scanner ${mySonarOpts}"
23+ /root/sonar-scanner-cli- 4.8.1.3023-linux /bin/sonar-scanner ${mySonarOpts}"
2324 } else {
2425 sonarExec="echo Skipping Sonar for this version."
2526 }
You can’t perform that action at this time.
0 commit comments