Skip to content
This repository was archived by the owner on Jul 17, 2018. It is now read-only.

Commit 3c31ad2

Browse files
authored
Merge pull request #98 from migs/master
Trying different ERB syntax
2 parents 115f017 + 4dfe670 commit 3c31ad2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

jobs/sonarqube/templates/config/sonar.properties

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,20 @@
1212
# Permissions to create tables, indices and triggers must be granted to JDBC user.
1313
# The schema must be created first.
1414
<% if p('sonar.database.type') != 'H2' %>
15-
<%= sonar.jdbc.username= %><%= p('sonar.database.username') %>
16-
<%= sonar.jdbc.password= %><%= p('sonar.database.password') %>
15+
sonar.jdbc.username=<%= p('sonar.database.username') %>
16+
sonar.jdbc.password=<%= p('sonar.database.password') %>
1717
<% end %>
1818

1919
#----- Embedded Database (default)
2020
# H2 embedded database server listening port, defaults to 9092
2121
<% if p('sonar.database.type') == 'H2' %>
22-
<%= sonar.embeddedDatabase.port=9092 %>
22+
sonar.embeddedDatabase.port=9092
2323
<% end %>
2424
#----- MySQL 5.6 or greater
2525
# Only InnoDB storage engine is supported (not myISAM).
2626
# Only the bundled driver is supported. It can not be changed.
2727
<% if p('sonar.database.type') == 'MYSQL' %>
28-
<%= sonar.jdbc.url=jdbc:mysql:// %><%= p('sonar.database.host') %><%= :3306/sonar_db?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true&useConfigs=maxPerformance&useSSL=false %>
28+
sonar.jdbc.url=jdbc:mysql://<%= p('sonar.database.host') %>:3306/sonar_db?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true&useConfigs=maxPerformance&useSSL=false
2929
<% end %>
3030

3131
#----- Oracle 11g/12c

0 commit comments

Comments
 (0)