Update ct/sonarqube.sh

This commit is contained in:
Slaviša Arežina 2025-10-01 00:37:07 +02:00 committed by GitHub
parent c16c9702cd
commit 4ce366903f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,8 +33,10 @@ function update_script() {
systemctl stop sonarqube
msg_ok "Service stopped"
msg_info "Creating backup"
BACKUP_DIR="/opt/sonarqube-backup"
mv /opt/sonarqube ${BACKUP_DIR}
msg_ok "Backup created"
curl -fsSL -o /tmp/sonarqube.zip "https://binaries.sonarsource.com/Distribution/sonarqube/sonarqube-${RELEASE}.zip"