diff --git a/Jenkinsfile b/Jenkinsfile index 4188b01..414f63f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,6 +4,7 @@ pipeline { stages { stage('nuget'){ steps{ + dotnetPack(outputDirectory: "./", project: "nugettest/") dotnetNuGetPush() } } diff --git a/nugettest/Program.cs b/nugettest/Program.cs new file mode 100644 index 0000000..3751555 --- /dev/null +++ b/nugettest/Program.cs @@ -0,0 +1,2 @@ +// See https://aka.ms/new-console-template for more information +Console.WriteLine("Hello, World!"); diff --git a/nugettest/nugettest.csproj b/nugettest/nugettest.csproj new file mode 100644 index 0000000..4a66b75 --- /dev/null +++ b/nugettest/nugettest.csproj @@ -0,0 +1,11 @@ + + + + Exe + net8.0 + enable + enable + true + + +