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:
1 file changed
+3
-2
+3
-2
@@ -1,7 +1,7 @@
|
|||||||
version: '{build}'
|
version: '{build}'
|
||||||
pull_requests:
|
pull_requests:
|
||||||
do_not_increment_build_number: true
|
do_not_increment_build_number: true
|
||||||
os: Windows Server 2012 R2
|
image: Visual Studio 2019
|
||||||
configuration: ReleaseWin
|
configuration: ReleaseWin
|
||||||
platform:
|
platform:
|
||||||
- x64
|
- x64
|
||||||
@@ -58,7 +58,8 @@ before_build:
|
|||||||
nuget restore -DisableParallelProcessing
|
nuget restore -DisableParallelProcessing
|
||||||
|
|
||||||
if($Env:MAIN_REPO -and ($Env:PLATFORM -eq 'x64'))
|
if($Env:MAIN_REPO -and ($Env:PLATFORM -eq 'x64'))
|
||||||
{
|
{
|
||||||
|
$env:JAVA_HOME="C:\Program Files\Java\jdk11"
|
||||||
if ($Env:APPVEYOR_PULL_REQUEST_NUMBER){
|
if ($Env:APPVEYOR_PULL_REQUEST_NUMBER){
|
||||||
choco install "msbuild-sonarqube-runner" -y
|
choco install "msbuild-sonarqube-runner" -y
|
||||||
SonarScanner.MSBuild.exe begin `
|
SonarScanner.MSBuild.exe begin `
|
||||||
|
|||||||
Reference in new issue
Block a user