nuget pack and push
Some checks failed
gitea.arg.rip/jenkins-playground/pipeline/head There was a failure building this commit
Some checks failed
gitea.arg.rip/jenkins-playground/pipeline/head There was a failure building this commit
This commit is contained in:
parent
7cbda65ccd
commit
f5402f6635
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
@ -4,6 +4,7 @@ pipeline {
|
|||||||
stages {
|
stages {
|
||||||
stage('nuget'){
|
stage('nuget'){
|
||||||
steps{
|
steps{
|
||||||
|
dotnetPack(outputDirectory: "./", project: "nugettest/")
|
||||||
dotnetNuGetPush()
|
dotnetNuGetPush()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
2
nugettest/Program.cs
Normal file
2
nugettest/Program.cs
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
// See https://aka.ms/new-console-template for more information
|
||||||
|
Console.WriteLine("Hello, World!");
|
11
nugettest/nugettest.csproj
Normal file
11
nugettest/nugettest.csproj
Normal 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>
|
Loading…
Reference in New Issue
Block a user