Commit 6be1525f authored by 徐小光's avatar 徐小光

增加 sonar 检测默认 Java 版本为 1.8

parent 1d6475c9
...@@ -24,6 +24,8 @@ def sonaar_check(GIT_REPO_NAME,GIT_BRANCH,currentPath){ ...@@ -24,6 +24,8 @@ def sonaar_check(GIT_REPO_NAME,GIT_BRANCH,currentPath){
-Dsonar.projectKey=${GIT_REPO_NAME} \ -Dsonar.projectKey=${GIT_REPO_NAME} \
-Dsonar.java.binaries=. \ -Dsonar.java.binaries=. \
-Dsonar.sources=. \ -Dsonar.sources=. \
-Dsonar.java.source=1.8 \
-Dsonar.java.target=1.8 \
-Dsonar.projectBaseDir=${currentPath}" -Dsonar.projectBaseDir=${currentPath}"
......
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