Skip to content

Commit 54e5a13

Browse files
committed
RCB-620: Need to have sonarExec default to something. Run Python version tests in the other order.
1 parent 28005f2 commit 54e5a13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CI.Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22

3-
def versions = [3.11, 3.10, 3.9, 3.8, 3.7]
3+
def versions = [3.7, 3.8, 3.9, 3.10, 3.11]
44

55
def runSonnarForPythonVersion(sourceDir, ver){
66
mySonarOpts="-Dsonar.sources=/source -Dsonar.host.url=${env.SONAR_HOST_URL} -Dsonar.login=${env.SONAR_AUTH_TOKEN}"
@@ -21,7 +21,7 @@ def runSonnarForPythonVersion(sourceDir, ver){
2121
cd /source && \
2222
/root/sonar-scanner-4.8.0.2856-linux/bin/sonar-scanner ${mySonarOpts}"
2323
} else {
24-
sonarExec=""
24+
sonarExec="echo Skipping Sonar for this version."
2525
}
2626

2727
sh "docker run \

0 commit comments

Comments
 (0)