|
44 | 44 | <Target Name="InitBuild">
|
45 | 45 | <MSBuild Projects="tools-local/init-build.proj" />
|
46 | 46 | </Target>
|
47 |
| - |
| 47 | + |
48 | 48 | <Target Name="Clone">
|
49 | 49 | <MSBuild Projects="tools-local/init-build.proj" Targets="FetchSources" />
|
50 | 50 | </Target>
|
|
55 | 55 |
|
56 | 56 | <Target Name="DownloadSourceBuildReferencePackages"
|
57 | 57 | AfterTargets="Build"
|
58 |
| - Condition="'$(OfflineBuild)' != 'true' and '$(OS)' != 'Windows_NT' and '$(SkipDownloadingReferencePackages)' != 'true'"> |
59 |
| - <DownloadFileSB |
| 58 | + Condition="'$(OfflineBuild)' != 'true' and '$(OS)' != 'Windows_NT' and '$(SkipDownloadingReferencePackages)' != 'true'" |
| 59 | + Inputs="$(MSBuildProjectFullPath)" |
| 60 | + Outputs="$(CompletedSemaphorePath)DownloadSourceBuildReferencePackages.complete" > |
| 61 | + <PropertyGroup Condition="'$(DownloadSourceBuildReferencePackagesTimeoutSeconds)' == ''"> |
| 62 | + <DownloadSourceBuildReferencePackagesTimeoutSeconds>600</DownloadSourceBuildReferencePackagesTimeoutSeconds> |
| 63 | + </PropertyGroup> |
| 64 | + |
| 65 | + <DownloadFileSB |
60 | 66 | SourceUrl="$(ReferencePackagesTarballUrl)$(ReferencePackagesTarballName).$(PrivateSourceBuildReferencePackagesPackageVersion).tar.gz"
|
61 |
| - DestinationFolder="$(ExternalTarballsDir)" /> |
| 67 | + DestinationFolder="$(ExternalTarballsDir)" |
| 68 | + TimeoutSeconds="$(DownloadSourceBuildReferencePackagesTimeoutSeconds)" /> |
| 69 | + |
| 70 | + <WriteLinesToFile File="$(CompletedSemaphorePath)DownloadSourceBuildReferencePackages.complete" Overwrite="true" /> |
62 | 71 | </Target>
|
63 | 72 |
|
64 | 73 | <Target Name="DownloadSourceBuiltArtifacts"
|
65 | 74 | AfterTargets="Build"
|
66 |
| - Condition="'$(OfflineBuild)' != 'true' and '$(OS)' != 'Windows_NT' and '$(SkipDownloadingPreviouslySourceBuiltPackages)' != 'true'"> |
67 |
| - <DownloadFileSB |
| 75 | + Condition="'$(OfflineBuild)' != 'true' and '$(OS)' != 'Windows_NT' and '$(SkipDownloadingPreviouslySourceBuiltPackages)' != 'true'" |
| 76 | + Inputs="$(MSBuildProjectFullPath)" |
| 77 | + Outputs="$(CompletedSemaphorePath)DownloadSourceBuiltArtifacts.complete" > |
| 78 | + <PropertyGroup Condition="'$(DownloadSourceBuiltArtifactsTimeoutSeconds)' == ''"> |
| 79 | + <DownloadSourceBuiltArtifactsTimeoutSeconds>1500</DownloadSourceBuiltArtifactsTimeoutSeconds> |
| 80 | + </PropertyGroup> |
| 81 | + |
| 82 | + <DownloadFileSB |
68 | 83 | SourceUrl="$(SourceBuiltArtifactsTarballUrl)$(SourceBuiltArtifactsTarballName).$(PrivateSourceBuiltArtifactsPackageVersion).tar.gz"
|
69 |
| - DestinationFolder="$(ExternalTarballsDir)" /> |
| 84 | + DestinationFolder="$(ExternalTarballsDir)" |
| 85 | + TimeoutSeconds="$(DownloadSourceBuiltArtifactsTimeoutSeconds)" /> |
| 86 | + |
| 87 | + <WriteLinesToFile File="$(CompletedSemaphorePath)DownloadSourceBuiltArtifacts.complete" Overwrite="true" /> |
70 | 88 | </Target>
|
71 | 89 |
|
72 | 90 | <!-- After building, generate a prebuilt usage report. -->
|
|
88 | 106 |
|
89 | 107 | <Target Name="ReportPoisonUsage"
|
90 | 108 | AfterTargets="Build"
|
91 |
| - Condition="'$(EnablePoison)' == 'true' and '$(OfflineBuild)' == 'true'"> |
| 109 | + Condition="'$(EnablePoison)' == 'true' and '$(OfflineBuild)' == 'true'" |
| 110 | + Inputs="$(MSBuildProjectFullPath)" |
| 111 | + Outputs="$(CompletedSemaphorePath)ReportPoisonUsage.complete" > |
92 | 112 | <ItemGroup>
|
93 | 113 | <FinalCliTarball Include="$(SourceBuiltTarBallPath)**/*$(TarBallExtension)" />
|
94 | 114 | </ItemGroup>
|
95 | 115 | <CheckForPoison FilesToCheck="@(FinalCliTarball)"
|
96 | 116 | HashCatalogFilePath="$(PoisonReportDataFile)"
|
97 | 117 | MarkerFileName="$(PoisonMarkerFile)"
|
98 | 118 | PoisonReportOutputFilePath="$(PoisonUsageReportFile)" />
|
| 119 | + |
| 120 | + <WriteLinesToFile File="$(CompletedSemaphorePath)ReportPoisonUsage.complete" Overwrite="true" /> |
99 | 121 | </Target>
|
100 | 122 |
|
101 |
| - <Target Name="GeneratePrebuiltBurndownData"> |
| 123 | + <Target Name="GeneratePrebuiltBurndownData" |
| 124 | + Inputs="$(MSBuildProjectFullPath)" |
| 125 | + Outputs="$(CompletedSemaphorePath)GeneratePrebuiltBurndownData.complete" > |
102 | 126 | <WriteUsageBurndownData RootDirectory="$(ProjectDir)"
|
103 | 127 | PrebuiltBaselineFile="$(OnlineBaselineDataFile)"
|
104 | 128 | OutputFilePath="$(OnlinePrebuiltBurndownDataFile)" />
|
105 | 129 | <WriteUsageBurndownData RootDirectory="$(ProjectDir)"
|
106 | 130 | PrebuiltBaselineFile="$(OfflineBaselineDataFile)"
|
107 | 131 | OutputFilePath="$(OfflinePrebuiltBurndownDataFile)" />
|
| 132 | + |
| 133 | + <WriteLinesToFile File="$(CompletedSemaphorePath)GeneratePrebuiltBurndownData.complete" Overwrite="true" /> |
108 | 134 | </Target>
|
109 | 135 |
|
110 | 136 | <Target Name="RunSmokeTest" DependsOnTargets="GetProdConBlobFeedUrl">
|
|
0 commit comments