Update snapshot dependencies to not use suitable build

This commit is contained in:
Pranav K 2014-03-31 06:27:56 -07:00
parent 8b2137189e
commit b705f363ab
3 changed files with 25 additions and 5 deletions

View File

@ -8,10 +8,10 @@ namespace TCDependencyManager
public int Count { get; set; }
[JsonProperty("snapshot-dependency")]
public List<SnapshotDepedency> Dependencies { get; set; }
public List<SnapshotDependency> Dependencies { get; set; }
}
public class SnapshotDepedency
public class SnapshotDependency
{
public string Id { get; set; }

View File

@ -0,0 +1,22 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.21126.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TCDependencyManager", "TCDependencyManager.csproj", "{72C96182-352E-44EC-B157-AFEBDC7A74DD}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{72C96182-352E-44EC-B157-AFEBDC7A74DD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{72C96182-352E-44EC-B157-AFEBDC7A74DD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{72C96182-352E-44EC-B157-AFEBDC7A74DD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{72C96182-352E-44EC-B157-AFEBDC7A74DD}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View File

@ -97,12 +97,10 @@ namespace TCDependencyManager
Property = new List<NameValuePair>
{
new NameValuePair("run-build-if-dependency-failed", "true"),
new NameValuePair("take-successful-builds-only", "true"),
new NameValuePair("take-started-build-with-same-revisions", "true")
}
};
var snapshotDependency = new SnapshotDepedency
var snapshotDependency = new SnapshotDependency
{
Id = dependencyId,
Type = "snapshot_dependency",