nuget pack and push
Some checks failed
gitea.arg.rip/jenkins-playground/pipeline/head There was a failure building this commit

This commit is contained in:
adam 2024-11-09 22:54:36 -05:00
parent 7cbda65ccd
commit f5402f6635
3 changed files with 14 additions and 0 deletions

1
Jenkinsfile vendored
View File

@ -4,6 +4,7 @@ pipeline {
stages {
stage('nuget'){
steps{
dotnetPack(outputDirectory: "./", project: "nugettest/")
dotnetNuGetPush()
}
}

2
nugettest/Program.cs Normal file
View File

@ -0,0 +1,2 @@
// See https://aka.ms/new-console-template for more information
Console.WriteLine("Hello, World!");

View File

@ -0,0 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Packable>true</Packable>
</PropertyGroup>
</Project>