We do have sonarqube hosted on azure container app.
We have pipeline configured on azure devops, this is throwing some intermittent errors(Does not happen all the time), when it happens, it is also 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”: “ <strong><strong>",
“slotSetting”: false
},
{
“name”: “DOCKER_REGISTRY_SERVER_URL”,
“value”: “[https://registery.azurecr.io](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”: "</strong></strong> **”,
“slotSetting”: false
},
{
“name”: “WEBSITES_ENABLE_APP_SERVICE_STORAGE”,
“value”: “false”,
“slotSetting”: false
}
]
Please find the attachment for the log from azure, let me know if any information is needed
SonarQubeLog.txt (75.4 KB)
Pipeline
Tasks on Azure pipeline
pool:
vmImage: ‘ubuntu-20.04’
variables:
solution: ‘**/*.sln’
buildPlatform: ‘Any CPU’
buildConfiguration: ‘prod’
- task: SonarQubePrepare@4
-
- task: DotNetCoreCLI@2
displayName: Restore
- task: DotNetCoreCLI@2
- task: DotNetCoreCLI@2
displayName: Build -
- task: SonarQubeAnalyze@4