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() } + } } }