Merge pull request #542 from lukeIam/appveyorNewImage

Update build image (and vs to 2019) to have Java 11 in the image
This commit is contained in:
Stefan authored and GitHub committed 2020-09-13 11:31:58 +02:00
commit d94fc0049c
1 file changed
+3 -2
+3 -2
View File
@@ -1,7 +1,7 @@
version: '{build}'
pull_requests:
do_not_increment_build_number: true
os: Windows Server 2012 R2
image: Visual Studio 2019
configuration: ReleaseWin
platform:
- x64
@@ -58,7 +58,8 @@ before_build:
nuget restore -DisableParallelProcessing
if($Env:MAIN_REPO -and ($Env:PLATFORM -eq 'x64'))
{
{
$env:JAVA_HOME="C:\Program Files\Java\jdk11"
if ($Env:APPVEYOR_PULL_REQUEST_NUMBER){
choco install "msbuild-sonarqube-runner" -y
SonarScanner.MSBuild.exe begin `