File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 1212- task : UseDotNet@2
1313 displayName : ' Install .NET Core 3'
1414 inputs :
15- version : ' 3.0.100-preview8-013656'
16- packageType : sdk
17- includePreviewVersions : true
15+ packageType : ' sdk'
16+ useGlobalJson : true
1817
1918- task : DotNetCoreCLI@2
2019 inputs :
3938 solution : ' $(coreSolution)'
4039 configuration : ' $(buildConfiguration)'
4140 platform : ' $(buildPlatform)'
42- msbuildArgs : ' /t:Pack'
41+ msbuildArgs : ' /t:Pack /p:JavaSdkDirectory="$(JAVA_HOME_8_X64)" '
4342
4443- task : VSTest@2
4544 displayName : Run Unit Tests
5958 solution : ' $(setupSamplesSolution)'
6059 configuration : ' $(buildConfiguration)'
6160 platform : ' $(buildPlatform)'
62- msbuildArgs : ' /t:Build'
61+ msbuildArgs : ' /t:Build /p:JavaSdkDirectory="$(JAVA_HOME_8_X64)" '
6362
6463- task : NuGetCommand@2
6564 displayName : Restore Features Solution
7271 solution : ' $(featuresSamplesSolution)'
7372 configuration : ' $(buildConfiguration)'
7473 platform : ' $(buildPlatform)'
75- msbuildArgs : ' /t:Build'
74+ msbuildArgs : ' /t:Build /p:JavaSdkDirectory="$(JAVA_HOME_8_X64)" '
7675
7776- task : CopyFiles@2
7877 displayName : Copy Packages to Artifact Directory
You can’t perform that action at this time.
0 commit comments