From 066ba16121e3ee935b8f30184a43fbc4d1931e9d Mon Sep 17 00:00:00 2001 From: 12ww1160 <12ww1160@confdroid.com> Date: Wed, 28 Jan 2026 13:50:54 +0100 Subject: [PATCH] OP#375 remove .vscode --- Jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 0c0eb29..95201b3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -90,6 +90,7 @@ pipeline { sh ''' git config user.name "Jenkins Server" git config user.email jenkins@confdroid.com + git rm -r --cached .vscode || echo "No .vscode to remove from git" git add -A && git commit -am "Recommit for updates in build $BUILD_NUMBER" || echo "No changes to commit" git push origin HEAD:master ''' @@ -111,7 +112,7 @@ pipeline { git branch -D development git branch -D jenkins-build-$BUILD_NUMBER git rm -f Jenkinsfile - git rm -r .vscode + git rm -r --cached .vscode || echo "No .vscode to remove from git" git commit --amend --no-edit --allow-empty git remote add master https://gitea.confdroid.com/confdroid/confdroid_prometheus.git git -c credential.helper="!f() { echo username=${GITEA_USER}; echo password=${GITEA_TOKEN}; }; f" \