Terms of Service | Privacy Policy | Cookie Policy

Unverified Commit 4aa0bf44 authored by Uwe Plonus's avatar Uwe Plonus Committed by GitHub

Merge pull request #12 from uweplonus/master

 Changed Jenkinsfile to not fail if there is nothing to commit.
parents b917a72d 806d65b1
......@@ -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
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment