We do have sonarqube hosted on azure container app.
We have pipeline configured on azure devops, this is throwing some intermittent errors(Does not ahppen all the time), when it happens, it is aslo removing the authadd plugin. I can see that plugin is present in db but it no longer shows on login page and need to be installed again.
We are on 8.9.2
Here are the configuration on azure(some values have been changed for security reasons)
[
{
"name": "DOCKER_REGISTRY_SERVER_PASSWORD",
"value": "****",
"slotSetting": false
},
{
"name": "DOCKER_REGISTRY_SERVER_URL",
"value": "https://registery.azurecr.io",
"slotSetting": false
},
{
"name": "DOCKER_REGISTRY_SERVER_USERNAME",
"value": "Registery",
"slotSetting": false
},
{
"name": "PORT",
"value": "9000",
"slotSetting": false
},
{
"name": "SONAR.JDBC.URL",
"value": "jdbc:sqlserver://db.database.windows.net:1433;database=project_sonarqube",
"slotSetting": false
},
{
"name": "SONAR_JDBC_USERNAME",
"value": "dev",
"slotSetting": false
},
{
"name": "SONARQUBE_JDBC_PASSWORD",
"value": "******",
"slotSetting": false
},
{
"name": "WEBSITES_ENABLE_APP_SERVICE_STORAGE",
"value": "false",
"slotSetting": false
}
]
Please find the attachemnt for the log from azure, let me know if any information is needed
SonarQubeLog.txt (75.4 KB)
Tasks on Azure pipeline
pool:
vmImage: 'ubuntu-20.04'
variables:
solution: '**/*.sln'
buildPlatform: 'Any CPU'
buildConfiguration: 'prod'
1) task: SonarQubePrepare@4
2) - task: DotNetCoreCLI@2
displayName: Restore
3) task: DotNetCoreCLI@2
displayName: Build
4) - task: SonarQubeAnalyze@4