Skip to content
Snippets Groups Projects
Commit 5355bea8 authored by Lars Bilke's avatar Lars Bilke
Browse files

[Jenkins] Ignore markdown and pandoc files on git diff --check.

parent b2edc0f8
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@ pipeline {
agent any
steps {
sh "git config core.whitespace -blank-at-eof"
sh "git diff --check `git merge-base origin/master HEAD` HEAD"
sh "git diff --check `git merge-base origin/master HEAD` HEAD -- . ':!*.md' ':!*.pandoc'"
}
}
stage('Build') {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment