snuyanzin commented on code in PR #3591:
URL: https://github.com/apache/calcite/pull/3591#discussion_r1605994680


##########
Jenkinsfile:
##########
@@ -44,9 +44,9 @@ node('ubuntu') {
       withEnv(["Path+JDK=$JAVA_JDK_17/bin","JAVA_HOME=$JAVA_JDK_17"]) {
         withCredentials([string(credentialsId: 'SONARCLOUD_TOKEN', variable: 
'SONAR_TOKEN')]) {
           if ( env.BRANCH_NAME.startsWith("PR-") ) {
-            sh './gradlew --no-parallel --no-daemon jacocoAggregateTestReport 
sonar -PenableJacoco -Dsonar.pullrequest.branch=${CHANGE_BRANCH} 
-Dsonar.pullrequest.base=${CHANGE_TARGET} -Dsonar.pullrequest.key=${CHANGE_ID} 
-Dsonar.login=${SONAR_TOKEN}'
+            sh './gradlew --no-parallel --no-daemon jacocoAggregateTestReport 
sonar -PenableJacoco -Porg.sonarqube.version=4.4.1.3373 
-Dsonar.pullrequest.branch=${CHANGE_BRANCH} 
-Dsonar.pullrequest.base=${CHANGE_TARGET} -Dsonar.pullrequest.key=${CHANGE_ID} 
-Dsonar.login=${SONAR_TOKEN}'

Review Comment:
   From one side 4.x is required to work with gradle 8 when it is invoked for 
`jacocoAggregateTestReport`
   from another side gradle can not load it while building with jdk8 since 4.x 
can not be used with jdk8



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@calcite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to