Use `-noBuild` in second build steps of test jobs (#39998)
* Use `-noBuild` in second build steps of test jobs - building again in Publish target adds nothing in most cases - use `-noBuildRepoTasks` more consistently - again, building the repo tasks wastefully repeated work done in previous build step - use `-noBuildJava` more consistently in quarantined pipelines - Java tests aren't worth testing _or building_ in these pipelines because they cannot be quarantined - remove `-noRestore` and `-noBuildDeps` when `-noBuild` specified; redundant - work around https://github.com/dotnet/sdk/issues/23777 - do not publish .cshtml files of most test asset projects when `$(NoBuild)` is set - update FunctionalTestWithAssets.targets to help Publish succeed when `$(NoBuild)` is set - fixes build jobs in quarantined-pr pipeline where `--no-build` was already specified - for IIS test assets, perform all builds needed for their profiles within Build target - move `ReferenceTestTasks=false` and comments about it to where property matters - merge separate targets in FunctionalTest.props to make items available during (now separate) Publish nits: - touch up RunHelix.ps1 console output - reorder command line arguments for consistency in changed parts of the YAML files - move `NoBuild=true` setting out of FunctionalTestWithAssets.props - use `BeforeTargets` in FunctionalTest.props to improve determinism
显示
- .azure/pipelines/ci.yml 2 个添加, 2 个删除.azure/pipelines/ci.yml
- .azure/pipelines/helix-matrix.yml 2 个添加, 1 个删除.azure/pipelines/helix-matrix.yml
- .azure/pipelines/quarantined-pr.yml 12 个添加, 8 个删除.azure/pipelines/quarantined-pr.yml
- .azure/pipelines/quarantined-tests.yml 3 个添加, 2 个删除.azure/pipelines/quarantined-tests.yml
- eng/scripts/RunHelix.ps1 2 个添加, 1 个删除eng/scripts/RunHelix.ps1
- eng/targets/FunctionalTestWithAssets.props 0 个添加, 1 个删除eng/targets/FunctionalTestWithAssets.props
- eng/targets/FunctionalTestWithAssets.targets 15 个添加, 2 个删除eng/targets/FunctionalTestWithAssets.targets
- src/Mvc/samples/MvcSandbox/MvcSandbox.csproj 8 个添加, 1 个删除src/Mvc/samples/MvcSandbox/MvcSandbox.csproj
- src/Mvc/test/Mvc.FunctionalTests/Microsoft.AspNetCore.Mvc.FunctionalTests.csproj 2 个添加, 1 个删除...onalTests/Microsoft.AspNetCore.Mvc.FunctionalTests.csproj
- src/Mvc/test/WebSites/Directory.Build.props 2 个添加, 2 个删除src/Mvc/test/WebSites/Directory.Build.props
- src/Mvc/test/WebSites/Directory.Build.targets 14 个添加, 0 个删除src/Mvc/test/WebSites/Directory.Build.targets
- src/Servers/IIS/IIS/test/Common.LongTests/StartupTests.cs 0 个添加, 1 个删除src/Servers/IIS/IIS/test/Common.LongTests/StartupTests.cs
- src/Servers/IIS/IIS/test/FunctionalTest.props 9 个添加, 10 个删除src/Servers/IIS/IIS/test/FunctionalTest.props
- src/Servers/IIS/IIS/test/testassets/Directory.Build.targets 1 个添加, 1 个删除src/Servers/IIS/IIS/test/testassets/Directory.Build.targets
- src/Servers/IIS/IIS/test/testassets/InProcessNewShimWebSite/InProcessNewShimWebSite.csproj 14 个添加, 1 个删除...ts/InProcessNewShimWebSite/InProcessNewShimWebSite.csproj
- src/Servers/IIS/IIS/test/testassets/InProcessWebSite/InProcessWebSite.csproj 13 个添加, 2 个删除.../test/testassets/InProcessWebSite/InProcessWebSite.csproj
加载中
想要评论请 注册 或 登录