diff --git a/Jenkinsfile b/Jenkinsfile index 2b6320d..d1ddd1f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -108,7 +108,7 @@ pipeline { sh ''' git checkout master git pull origin master - git branch -D development || echo "No branch development to remove from git" + git branch -D development git branch -D jenkins-build-$BUILD_NUMBER git rm -f Jenkinsfile git rm -r --cached .vscode || echo "No .vscode to remove from git"