blob: 5465c4584680a2e81ae41d799042c3dd7bd7cd63 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/usr/bin/env bash
set -euo pipefail
source scripts/property_utils.sh
SQ_HOME=$1
echo "configuring postgres"
set_property sonar.jdbc.url jdbc:postgresql://localhost:5432/sonarqube "$SQ_HOME/conf/sonar.properties"
set_property sonar.jdbc.username sonarqube "$SQ_HOME/conf/sonar.properties"
set_property sonar.jdbc.password sonarqube "$SQ_HOME/conf/sonar.properties"
|