Skip to content

Commit

Permalink
Корректировка настроек сонар для AUTO
Browse files Browse the repository at this point in the history
  • Loading branch information
tetsuser committed Jan 8, 2025
1 parent c9d72e9 commit f2308b9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ru/pulsar/jenkins/library/steps/SonarScanner.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,8 @@ class SonarScanner implements Serializable {
} else {
sonarCommand += " -Dsonar.branch.name=$env.BRANCH_NAME"
}
} else (branchAnalysisConfiguration == BranchAnalysisConfiguration.AUTO) {
} else if (branchAnalysisConfiguration == BranchAnalysisConfiguration.AUTO) {
// no-op
sonarCommand += ""
}

String projectVersion = computeProjectVersion()
Expand Down

0 comments on commit f2308b9

Please sign in to comment.