diff --git a/.azure-pipelines/azure-pipelines.yml b/.azure-pipelines/azure-pipelines.yml index eb063e8da2..ef98550bc7 100644 --- a/.azure-pipelines/azure-pipelines.yml +++ b/.azure-pipelines/azure-pipelines.yml @@ -64,12 +64,17 @@ jobs: if [[ "$BUILD_SOURCEBRANCH" == "refs/heads/master" && "$JDK_VERSION" == "5" ]]; then mvn -V -B -e -f org.jacoco.build \ verify -Djdk.version=$JDK_VERSION \ - sonar:sonar deploy:deploy -DdeployAtEnd \ + deploy:deploy -DdeployAtEnd \ --toolchains=toolchains.xml --settings=.azure-pipelines/maven-settings.xml elif [[ "$JDK_VERSION" == "5" ]]; then mvn -V -B -e \ verify -Djdk.version=$JDK_VERSION \ --toolchains=toolchains.xml + elif [[ "$BUILD_SOURCEBRANCH" == "refs/heads/master" && "$JDK_VERSION" == "11" ]]; then + mvn -V -B -e -f org.jacoco.build \ + verify -Djdk.version=$JDK_VERSION -Dbytecode.version=$JDK_VERSION \ + sonar:sonar \ + --toolchains=toolchains.xml --settings=.azure-pipelines/maven-settings.xml else mvn -V -B -e \ verify -Djdk.version=$JDK_VERSION -Dbytecode.version=$JDK_VERSION -Decj=${ECJ:-} \