2 writes to Commit
Microsoft.DotNet.Build.Manifest (1)
BuildModelFactory.cs (1)
166
Commit
= manifestCommit,
Microsoft.DotNet.Build.Tasks.Feed (1)
src\PublishBuildToMaestro.cs (1)
220
buildIdentity.
Commit
= buildIdentity.Commit ?? GetAzDevCommit();
12 references to Commit
Microsoft.DotNet.Build.Manifest (5)
BuildIdentity.cs (5)
29
nameof(
Commit
)
65
get { return Attributes.GetOrDefault(nameof(
Commit
)); }
66
set { Attributes[nameof(
Commit
)] = value; }
244
if (!string.IsNullOrEmpty(
Commit
))
246
s += $" ({
Commit
})";
Microsoft.DotNet.Build.Manifest.Tests (1)
BuildModelFactoryTests.cs (1)
513
modelFromItems.Identity.
Commit
.Should().Be(_testBuildCommit);
Microsoft.DotNet.Build.Tasks.Feed (6)
src\PublishArtifactsInManifestV3.cs (1)
150
commitSha: BuildModel.Identity.
Commit
,
src\PublishArtifactsInManifestV4.cs (1)
146
commitSha: BuildModel.Identity.
Commit
,
src\PublishBuildToMaestro.cs (4)
220
buildIdentity.Commit = buildIdentity.
Commit
?? GetAzDevCommit();
372
commit: buildModel.Identity.
Commit
,
550
client.GetAsync($"/repos/{repoIdentity}/commits/{buildIdentity.
Commit
}").Result;
566
$" Unable to translate AzDO to GitHub URL. HttpResponse: {response.StatusCode} {response.ReasonPhrase} for repoIdentity: {repoIdentity} and commit: {buildIdentity.
Commit
}.");