We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 68e46cc + a77b395 commit 63505c8Copy full SHA for 63505c8
jobs/sonarqube/templates/config/SonarApiClient.groovy.erb
@@ -60,8 +60,10 @@ class SonarApiClient
60
private static setSonarCredentials() {
61
def useGithubAuth = <%= p('sonar.use_github_auth') %>
62
if (useGithubAuth) {
63
+ <% if_link('jenkins_master') do |jenkins_master| %>
64
username = "<%= link('jenkins_master').p('jenkins.github.integration_user.name') %>"
65
password = "<%= link('jenkins_master').p('jenkins.github.integration_user.access_token') %>"
66
+ <% end %>
67
} else {
68
username = "<%= p('sonar.admin.username') %>"
69
password = "<%= p('sonar.admin.password') %>"
0 commit comments