1 write to TargetURL
Microsoft.DotNet.Build.Tasks.Feed (1)
src\model\TargetFeedConfig.cs (1)
79
TargetURL
= targetURL;
20 references to TargetURL
Microsoft.DotNet.Build.Tasks.Feed (20)
src\AssetPublisherFactory.cs (3)
29
return new AzureDevOpsNugetFeedAssetPublisher(_log, feedConfig.
TargetURL
, feedConfig.Token, task);
35
new Uri(feedConfig.
TargetURL
),
42
new Uri(feedConfig.
TargetURL
),
src\model\TargetFeedConfig.cs (6)
20
public string SafeTargetURL => new UriBuilder(
TargetURL
) {Query = "", Fragment = ""}.Uri.AbsoluteUri;
97
((
TargetURL
is null && other.
TargetURL
is null) ||
TargetURL
.Equals(other.
TargetURL
, StringComparison.OrdinalIgnoreCase)) &&
121
return (ContentType, Type, AssetSelection, Isolated, Internal, AllowOverwrite, string.Join(" ", LatestLinkShortUrlPrefixes),
TargetURL
, Token, Flatten, string.Join(" ", FilenamesToExclude)).GetHashCode();
src\PublishArtifactsInManifestBase.cs (11)
368
Log.LogError($"Use of non-internal feed '{feedConfig.
TargetURL
}' is invalid for an internal build. This can be overridden with '{nameof(SkipSafetyChecks)}= true'");
422
Log.LogError($"Package '{package.Id}' has stable version '{package.Version}' but is targeted at a non-isolated feed '{feedConfig.
TargetURL
}'");
801
$"Package {package.Id}@{package.Version} ({shippingString}) should go to {feedConfig.
TargetURL
} ({isolatedString}{internalString})");
1289
var parsedUri = Regex.Match(feedConfig.
TargetURL
, PublishingConstants.AzDoNuGetFeedPattern);
1384
Log.LogMessage(MessageImportance.Normal, $"Pushing local package {localPackageLocation} to target feed {feedConfig.
TargetURL
}");
1391
nugetResult = await RunProcessAndGetOutputsCallBack(NugetPath, $"push \"{localPackageLocation}\" -Source \"{feedConfig.
TargetURL
}\" -NonInteractive -ApiKey AzureDevOps -Verbosity quiet");
1409
Log.LogMessage(MessageImportance.Normal, $"Package '{localPackageLocation}' already exists on '{feedConfig.
TargetURL
}' but has the same content; skipping push");
1414
Log.LogError($"Package '{localPackageLocation}' already exists on '{feedConfig.
TargetURL
}' with different content.");
1432
Log.LogError($"Failed to publish package '{id}@{version}' to '{feedConfig.
TargetURL
}' after {MaxRetryCount} attempts. (Final status: {packageStatus})");
1436
Log.LogMessage($"Succeeded publishing package '{localPackageLocation}' to feed {feedConfig.
TargetURL
}");
1638
var parsedUri = Regex.Match(feedConfig.
TargetURL
, PublishingConstants.AzDoNuGetFeedPattern);