Skip to content

Commit 7bb55ce

Browse files
Update CI.Jenkinsfile
Switch back to sonarsource binaries
1 parent 87557f6 commit 7bb55ce

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

CI.Jenkinsfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)