Skip to content

Commit

Permalink
Merge pull request #4 from aquator/jdbc_credentials
Browse files Browse the repository at this point in the history
Add support for jdbc credentials.
  • Loading branch information
mdasberg committed Dec 3, 2013
2 parents 6dae626 + bb9523d commit c4aa5a8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tasks/karma_sonar.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,12 @@ module.exports = function(grunt) {
if (options.instance !== undefined) {
args.push('-Dsonar.host.url=' + options.instance.hostUrl);
args.push('-Dsonar.jdbc.url=' + options.instance.jdbcUrl);
if (options.instance.jdbcUsername !== undefined) {
args.push('-Dsonar.jdbc.username=' + options.instance.jdbcUsername);
}
if (options.instance.jdbcPassword !== undefined) {
args.push('-Dsonar.jdbc.password=' + options.instance.jdbcPassword);
}
args.push('-Dsonar.login=' + options.instance.login);
args.push('-Dsonar.password=' + options.instance.password);
}
Expand Down

0 comments on commit c4aa5a8

Please sign in to comment.