diff options
author | chcosta <chcosta@microsoft.com> | 2016-12-30 23:18:01 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-30 23:18:01 +0300 |
commit | 7572a0e2aa2cf71c17569a3be8d77118e73516d4 (patch) | |
tree | 49ef7773791b8704113a98dcb4cea462042f6e71 /buildvertical.targets | |
parent | 37be5f3158b1cac05f2fd3f63b126103d93c0841 (diff) |
Catch failures in dev/eng branch (#14764)
* Catch build failures, move project annotation into buildvertical (for
now), update system.memory build
* Use dirs.proj
* Specify archgroup for jenkins build
* Use buildconfiguration for inner loop testing in jenkins
Diffstat (limited to 'buildvertical.targets')
-rw-r--r-- | buildvertical.targets | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/buildvertical.targets b/buildvertical.targets index 00596db5e3..87405637f5 100644 --- a/buildvertical.targets +++ b/buildvertical.targets @@ -8,6 +8,22 @@ <!-- Required for FindBestConfiguration task --> <Import Project="$(MSBuildThisFileDirectory)src/Tools/GenerateProps/properties.props" /> + <Target Name="AnnotateProjects" + BeforeTargets="BuildAllProjects" + Condition="!$(MSBuildProjectFullPath.EndsWith('.proj'))"> + <!-- Clear ProjectWithConfiguration to prevent circular dependency --> + <ItemGroup><ProjectWithConfiguration Remove="@(ProjectWithConfiguration)" /></ItemGroup> + <MSBuild Targets="AnnotateProjectsWithConfiguration" + Projects="@(Project)"> + <Output TaskParameter="TargetOutputs" + ItemName="ProjectWithConfiguration" /> + </MSBuild> + <ItemGroup> + <Project Remove="@(Project)" /> + <Project Include="@(ProjectWithConfiguration)" /> + </ItemGroup> + </Target> + <Target Name="AnnotateProjectsWithConfiguration" Returns="@(ProjectWithConfiguration)"> <ItemGroup> |