why would you not
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
a3e2d480dd
commit
79efdfcedf
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -2,6 +2,10 @@ pipeline {
|
|||||||
agent any
|
agent any
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
|
stage('env'){
|
||||||
|
cleanWs()
|
||||||
|
checkout scm
|
||||||
|
}
|
||||||
stage('nuget pack'){
|
stage('nuget pack'){
|
||||||
steps{
|
steps{
|
||||||
dotnetPack(outputDirectory: "./", project: "nugettest/")
|
dotnetPack(outputDirectory: "./", project: "nugettest/")
|
||||||
@ -24,7 +28,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('publish package'){
|
stage('publish package'){
|
||||||
steps{
|
steps{
|
||||||
dotnetNuGetPush(root: "./*.nupkg", source:"greyngitea")
|
dotnetNuGetPush(root: "./*.nupkg", source:"greyngitea", skipDuplicate:true)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user