Skip to content

Commit

Permalink
Merge pull request #217 from siemens/MavenBugFix10/12/24
Browse files Browse the repository at this point in the history
Bug fix for maven in Artifactory Uploader
  • Loading branch information
crvreddy authored Dec 11, 2024
2 parents b1345a5 + f620c1e commit 198b69b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ArtifactoryUploader/PackageUploadHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -573,12 +573,12 @@ string GetPropertyValue(string propertyName) =>
else if (GetPropertyValue(Dataconstant.Cdx_ProjectType) == "MAVEN")
{
ComponentsToArtifactory components = await GetUnknownPackageinfo(item);
displayPackagesInfo.UnknownPackagesPython.Add(components);
displayPackagesInfo.UnknownPackagesMaven.Add(components);
}
else if (GetPropertyValue(Dataconstant.Cdx_ProjectType) == "PYTHON")
{
ComponentsToArtifactory components = await GetUnknownPackageinfo(item);
displayPackagesInfo.UnknownPackagesMaven.Add(components);
displayPackagesInfo.UnknownPackagesPython.Add(components);
}
else if (GetPropertyValue(Dataconstant.Cdx_ProjectType) == "CONAN")
{
Expand Down Expand Up @@ -685,7 +685,7 @@ private static async Task SucessfullPackagesAsync(ComponentsToArtifactory item,
else if (item.ComponentType == "PYTHON")
{
ComponentsToArtifactory components = await GetSucessFulPackageinfo(item);
displayPackagesInfo.UnknownPackagesPython.Add(components);
displayPackagesInfo.SuccessfullPackagesPython.Add(components);
}
else if (item.ComponentType == "CONAN")
{
Expand Down

0 comments on commit 198b69b

Please sign in to comment.