From 18f8bf82d536f0d512bde3506e24340a56cd6b84 Mon Sep 17 00:00:00 2001 From: adam Date: Sun, 10 Nov 2024 00:48:51 -0500 Subject: [PATCH] this, actually. i guess if I had a very very large repo, I wouldn't want this as a given. --- Jenkinsfile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index d4a1173..ff0a65f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,12 +2,6 @@ pipeline { agent any stages { - stage('env'){ - steps{ - cleanWs() - checkout scm - } - } stage('nuget pack'){ steps{ dotnetPack(outputDirectory: "./", project: "nugettest/") @@ -33,5 +27,9 @@ pipeline { dotnetNuGetPush(root: "./*.nupkg", source:"greyngitea", skipDuplicate:true) } } + post { + always { + cleanWs() } + } } }