From 269013f6e821c0ddb4b6f545ade0ba98c17d5a57 Mon Sep 17 00:00:00 2001 From: 12ww1160 <12ww1160@confdroid.com> Date: Mon, 16 Feb 2026 15:19:40 +0100 Subject: [PATCH] OP#437 add git removal --- Jenkinsfile | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 2f11f33..ed33c7a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -51,18 +51,13 @@ pipeline { } } - stage('create Puppet documentation') { - steps { - sh '/opt/puppetlabs/bin/puppet strings' - } - } - stage('update repo') { steps { sshagent(['edd05eb6-26b5-4c7b-a5cc-ea2ab899f4fa']) { sh ''' git config user.name "Jenkins Server" git config user.email jenkins@confdroid.com + git rm -r --cached docs || echo "No docs to remove from git" 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