From 3c83dd456ca3dc3fc01ebf0957e22d79e552d08a Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 27 Apr 2023 21:04:44 +0800 Subject: [PATCH] Remove the incremental analysis shell code in jenkinsfile --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 123ce32c6d..1487ea8a27 100755 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -37,7 +37,7 @@ pipeline { container('sonar') { withSonarQubeEnv('sonarqube') { sh 'git config --global --add safe.directory $(pwd)' - sh 'sonar-scanner -Dsonar.inclusions=$(git diff --name-only HEAD~1|tr "\\n" ",") -Dsonar.analysis.user=$(git show -s --format=%an)' + sh 'sonar-scanner -Dsonar.analysis.user=$(git show -s --format=%an)' } } }