diff --git a/Jenkinsfile b/Jenkinsfile index 7c85059..d665a57 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -10,6 +10,12 @@ pipeline { } stages { + stage('cleaning workspace') { + steps { + sh "rm -rf ${env.WORKSPACE}/publish" + } + } + stage('nuget restore') { steps { sh "dotnet restore ${env.WORKSPACE}/src/PiwigoDotnet.sln"