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