File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -161,7 +161,6 @@ pipeline {
161
161
echo " JAVA_HOME = ${ JAVA_HOME} "
162
162
sh " which java"
163
163
sh " java -version"
164
- sh ' SONAR_BRANCH=$(echo $GIT_BRANCH | awk -F/ \' { print $2 }\' )'
165
164
166
165
withSonarQubeEnv(' SonarCloud' ) {
167
166
sh """
@@ -170,7 +169,6 @@ pipeline {
170
169
echo "sonar.organization=${ sonar_org} " >> ${ sonarscanner_config_file}
171
170
echo "sonar.projectKey=${ sonar_project_key} " >> ${ sonarscanner_config_file}
172
171
echo "sonar.projectVersion=${ version_prefix} " >> ${ sonarscanner_config_file}
173
- echo 'sonar.branch=$SONAR_BRANCH ' >> ${ sonarscanner_config_file}
174
172
echo "sonar.javascript.lcov.reportPaths=${ lcov_report_paths} " >> ${ sonarscanner_config_file}
175
173
echo "sonar.c.file.suffixes=-" >> ${ sonarscanner_config_file}
176
174
echo "sonar.cpp.file.suffixes=-" >> ${ sonarscanner_config_file}
You can’t perform that action at this time.
0 commit comments