未验证 提交 c842062a 编写于 作者: J Jesse Glick

Simpler check for local file modifications.

上级 9c9a8978
......@@ -49,7 +49,7 @@ for(j = 0; j < jdks.size(); j++) {
if(isUnix()) {
sh mvnCmd
sh 'test `git status --short | tee /dev/stderr | wc --bytes` -eq 0'
sh 'git add . && git diff --exit-code HEAD'
} else {
bat mvnCmd
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册