Update sonarqube-install.sh

This commit is contained in:
Slaviša Arežina 2025-10-01 00:39:43 +02:00 committed by GitHub
parent 36d48d5ea5
commit e19922adb5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,7 +12,7 @@ setting_up_container
network_check
update_os
JAVA_VERSION=21 setup_java
JAVA_VERSION="21" setup_java
PG_VERSION="17" setup_postgresql
fetch_and_deploy_gh_release "sonarqube" "SonarSource/sonarqube" "tarball"
@ -31,7 +31,6 @@ $STD sudo -u postgres psql -c "CREATE DATABASE $DB_NAME OWNER $DB_USER;"
} >>~/sonarqube.creds
msg_ok "Installed PostgreSQL"
msg_info "Configuring SonarQube"
chown -R sonarqube:sonarqube /opt/sonarqube
chmod -R 755 /opt/sonarqube