Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eng | Fix production pipeline #2450

Merged
merged 2 commits into from
Apr 5, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ steps:

#Set the Nuget.config file in the project to use extracted package
$rootFolder = Get-location
[Xml] $nugetConfig = Get-Content -Path "src\Nuget.config"
[Xml] $nugetConfig = Get-Content -Path "Nuget.config"
$Value = Resolve-Path ${{parameters.downloadedNugetPath }}
$newAdd = $nugetConfig.CreateElement("add")
$newAdd.SetAttribute("key","Package source")
$newAdd.SetAttribute("value", "$Value\" )
$nugetConfig.configuration.packageSources.AppendChild($newAdd)
$nugetConfig.Save("$rootFolder\src\Nuget.config")
$nugetConfig.Save("$rootFolder\Nuget.config")
displayName: 'Update NuGet config file to read from Nuget folder'

- task: MSBuild@1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,9 @@ private bool VerifyHealthReportAgainstRootCertificate(X509Certificate2Collection
// A certificate is simply used as a key pair consisting of a public and private key. This is by design.

// CodeQL [SM00395] By design. Always Encrypted certificates should not be checked.
#pragma warning disable IA5352
DavoudEshtehari marked this conversation as resolved.
Show resolved Hide resolved
chain.ChainPolicy.RevocationMode = X509RevocationMode.NoCheck;
#pragma warning restore IA5352

if (!chain.Build(healthReportCert))
{
Expand Down
Loading