For old git in centos:7: --no-patch -> -s (#168)
The old git in centos:7 doesn't recognize --no-patch
diff --git a/jenkins/github/centos.pipeline b/jenkins/github/centos.pipeline
index 86f359c..935168e 100644
--- a/jenkins/github/centos.pipeline
+++ b/jenkins/github/centos.pipeline
@@ -35,7 +35,7 @@
],
],
userRemoteConfigs: [[url: github_url, refspec: '+refs/pull/*:refs/remotes/origin/pr/*']]])
- sh 'git show -n 10 --decorate --graph --oneline --no-patch'
+ sh 'git show -n 10 --decorate --graph --oneline -s'
}
echo 'Finished Cloning'
}