Update install/sonarqube-install.sh

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

View File

@ -35,10 +35,6 @@ msg_info "Creating SonarQube User"
useradd -r -m -U -d /opt/sonarqube -s /bin/bash sonarqube 2>/dev/null || true
msg_info "Configuring SonarQube"
curl -fsSL -o /tmp/sonarqube.zip "https://binaries.sonarsource.com/Distribution/sonarqube/sonarqube-${RELEASE}.zip"
unzip -q /tmp/sonarqube.zip -d /tmp
cp -r /tmp/sonarqube-*/* /opt/sonarqube/
rm -rf /tmp/sonarqube*
chown -R sonarqube:sonarqube /opt/sonarqube
chmod -R 755 /opt/sonarqube
msg_ok "Installed SonarQube"