From 79efdfcedfdcf60484e2fe1b02902067e2d543e8 Mon Sep 17 00:00:00 2001 From: adam Date: Sun, 10 Nov 2024 00:39:03 -0500 Subject: [PATCH] why would you not --- Jenkinsfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 4472d79..74a27d1 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,6 +2,10 @@ pipeline { agent any stages { + stage('env'){ + cleanWs() + checkout scm + } stage('nuget pack'){ steps{ dotnetPack(outputDirectory: "./", project: "nugettest/") @@ -24,7 +28,7 @@ pipeline { } stage('publish package'){ steps{ - dotnetNuGetPush(root: "./*.nupkg", source:"greyngitea") + dotnetNuGetPush(root: "./*.nupkg", source:"greyngitea", skipDuplicate:true) } } }