changed to valid Newtonsoft.Json version
All checks were successful
Tests / Declarative: Post Actions passed: 1
csharp-secdevops-pipeline-pod/pipeline/head This commit looks good

This commit is contained in:
2026-05-06 07:56:04 +02:00
parent 942cc3f2cf
commit d4f1d2a755
9 changed files with 19 additions and 39 deletions

2
Jenkinsfile vendored
View File

@@ -85,7 +85,7 @@ pipeline {
post {
failure {
script {
currentBuild.description = "Sicherheits-Check fehlgeschlagen! Details im Trivy Security Report."
currentBuild.description = "Build Fehler. Ev. Sicherheits-Check fehlgeschlagen! Details im Trivy Security Report."
}
}
always {

View File

@@ -7,7 +7,6 @@
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
<NoWarn>$(NoWarn);NU1901;NU1902;NU1903;NU1904;NU1605</NoWarn>
<WarningsAsErrors></WarningsAsErrors>
</PropertyGroup>
@@ -17,7 +16,7 @@
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="xunit" Version="2.5.3" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.3" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
</ItemGroup>
<ItemGroup>

View File

@@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("MyHelloWorld.Tests")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+5454f03ddb4b3eb2300fa4d7dde94814ffd7c607")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+942cc3f2cf18be339a700e881c371dd368773eea")]
[assembly: System.Reflection.AssemblyProductAttribute("MyHelloWorld.Tests")]
[assembly: System.Reflection.AssemblyTitleAttribute("MyHelloWorld.Tests")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

View File

@@ -1 +1 @@
e906e9e895a27502cddb2517d263bd5de60a1635334d4fe6ed7c2e3d25606bb7
0a20ce78a6374bdedd3e2eecf6917425b5dfc4903832b7092a1731e7d9f97dae

View File

@@ -32,15 +32,6 @@
}
}
},
"warningProperties": {
"noWarn": [
"NU1605",
"NU1901",
"NU1902",
"NU1903",
"NU1904"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
@@ -61,7 +52,7 @@
},
"Newtonsoft.Json": {
"target": "Package",
"version": "[12.0.3, )"
"version": "[13.0.3, )"
},
"coverlet.collector": {
"target": "Package",

View File

@@ -377,15 +377,15 @@
"System.Xml.XDocument": "4.3.0"
}
},
"Newtonsoft.Json/12.0.3": {
"Newtonsoft.Json/13.0.3": {
"type": "package",
"compile": {
"lib/netstandard2.0/Newtonsoft.Json.dll": {
"lib/net6.0/Newtonsoft.Json.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/netstandard2.0/Newtonsoft.Json.dll": {
"lib/net6.0/Newtonsoft.Json.dll": {
"related": ".xml"
}
}
@@ -2138,14 +2138,15 @@
"netstandard.library.nuspec"
]
},
"Newtonsoft.Json/12.0.3": {
"sha512": "6mgjfnRB4jKMlzHSl+VD+oUc1IebOZabkbyWj2RiTgWwYPPuaK1H97G1sHqGwPlS5npiF5Q0OrxN1wni2n5QWg==",
"Newtonsoft.Json/13.0.3": {
"sha512": "HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==",
"type": "package",
"path": "newtonsoft.json/12.0.3",
"path": "newtonsoft.json/13.0.3",
"files": [
".nupkg.metadata",
".signature.p7s",
"LICENSE.md",
"README.md",
"lib/net20/Newtonsoft.Json.dll",
"lib/net20/Newtonsoft.Json.xml",
"lib/net35/Newtonsoft.Json.dll",
@@ -2154,17 +2155,15 @@
"lib/net40/Newtonsoft.Json.xml",
"lib/net45/Newtonsoft.Json.dll",
"lib/net45/Newtonsoft.Json.xml",
"lib/net6.0/Newtonsoft.Json.dll",
"lib/net6.0/Newtonsoft.Json.xml",
"lib/netstandard1.0/Newtonsoft.Json.dll",
"lib/netstandard1.0/Newtonsoft.Json.xml",
"lib/netstandard1.3/Newtonsoft.Json.dll",
"lib/netstandard1.3/Newtonsoft.Json.xml",
"lib/netstandard2.0/Newtonsoft.Json.dll",
"lib/netstandard2.0/Newtonsoft.Json.xml",
"lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.dll",
"lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.xml",
"lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.dll",
"lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.xml",
"newtonsoft.json.12.0.3.nupkg.sha512",
"newtonsoft.json.13.0.3.nupkg.sha512",
"newtonsoft.json.nuspec",
"packageIcon.png"
]
@@ -5545,7 +5544,7 @@
"net8.0": [
"JunitXml.TestLogger >= 8.0.0",
"Microsoft.NET.Test.Sdk >= 17.8.0",
"Newtonsoft.Json >= 12.0.3",
"Newtonsoft.Json >= 13.0.3",
"SecDevOpsLab >= 1.0.0",
"coverlet.collector >= 6.0.0",
"xunit >= 2.5.3",
@@ -5583,15 +5582,6 @@
}
}
},
"warningProperties": {
"noWarn": [
"NU1605",
"NU1901",
"NU1902",
"NU1903",
"NU1904"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
@@ -5612,7 +5602,7 @@
},
"Newtonsoft.Json": {
"target": "Package",
"version": "[12.0.3, )"
"version": "[13.0.3, )"
},
"coverlet.collector": {
"target": "Package",

View File

@@ -1,6 +1,6 @@
{
"version": 2,
"dgSpecHash": "AxMlimmOwXI=",
"dgSpecHash": "mYv6D7SDGvk=",
"success": true,
"projectFilePath": "C:\\Users\\HermanH\\SecDevOpsLab\\MyHelloWorld.Tests\\MyHelloWorld.Tests.csproj",
"expectedPackageFiles": [
@@ -14,7 +14,7 @@
"C:\\Users\\HermanH\\.nuget\\packages\\microsoft.testplatform.testhost\\17.8.0\\microsoft.testplatform.testhost.17.8.0.nupkg.sha512",
"C:\\Users\\HermanH\\.nuget\\packages\\microsoft.win32.primitives\\4.3.0\\microsoft.win32.primitives.4.3.0.nupkg.sha512",
"C:\\Users\\HermanH\\.nuget\\packages\\netstandard.library\\1.6.1\\netstandard.library.1.6.1.nupkg.sha512",
"C:\\Users\\HermanH\\.nuget\\packages\\newtonsoft.json\\12.0.3\\newtonsoft.json.12.0.3.nupkg.sha512",
"C:\\Users\\HermanH\\.nuget\\packages\\newtonsoft.json\\13.0.3\\newtonsoft.json.13.0.3.nupkg.sha512",
"C:\\Users\\HermanH\\.nuget\\packages\\nuget.frameworks\\6.5.0\\nuget.frameworks.6.5.0.nupkg.sha512",
"C:\\Users\\HermanH\\.nuget\\packages\\runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl\\4.3.0\\runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",
"C:\\Users\\HermanH\\.nuget\\packages\\runtime.fedora.23-x64.runtime.native.system.security.cryptography.openssl\\4.3.0\\runtime.fedora.23-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",