Terms of Service | Privacy Policy | Cookie Policy

Commit 1ac14ede authored by Uwe Plonus's avatar Uwe Plonus

Changed Jenkinsfile to not fail if there is nothing to commit.

parent caa495b8
......@@ -44,7 +44,7 @@ pipeline {
withCredentials([string(credentialsId: "f9c0bd13-de91-4d90-a292-8fd2d05c26b0", variable: 'GH_TOKEN')]) {
sh """
cd target/scmpublish-checkout
git commit -a -m 'Automatic created documentation'
git commit -a -m 'Automatic created documentation' || echo 'Nothing to commit.'
git push -fq https://${GH_TOKEN}@github.com/sw4j-org/quality-profile.git gh-pages:gh-pages
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment