Skip to content

Commit 87557f6

Browse files
Update CI.Jenkinsfile
Switch from Sonar hosted binaries to Github hosted.
1 parent 8d84d6b commit 87557f6

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

CI.Jenkinsfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ def runSonnarForPythonVersion(sourceDir, ver){
1616
// Only run Sonar once.
1717
if(ver == 3.11) {
1818
sonarExec="cd /root/ && \
19-
wget -q https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.8.0.2856-linux.zip && \
20-
unzip -q sonar-scanner-cli-4.8.0.2856-linux.zip && \
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 && \
2121
cd /source && \
22-
/root/sonar-scanner-4.8.0.2856-linux/bin/sonar-scanner ${mySonarOpts}"
22+
/root/sonar-scanner-4.8.1.3023/bin/sonar-scanner ${mySonarOpts}"
2323
} else {
2424
sonarExec="echo Skipping Sonar for this version."
2525
}
@@ -57,4 +57,4 @@ node ("docker-light") {
5757
currentBuild.result = "FAILED"
5858
throw e
5959
}
60-
}
60+
}

0 commit comments

Comments
 (0)