Download project file to locally

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension): 8.4 version
  • what are you trying to achieve: Trying to download the zip file from AKS container.
  • what have you tried so far to achieve this: Connected to Shell to a Running aks Container and trying to download the zip file locally using below commands. but still no luck. Please advise how to download files locally.

kubectl cp /opt/sonarqube/data/governance/project_dumps/export/rules.pb ~C:\Users\sjr53330\Desktop\sonar project

kubectl cp $SONAR_SOURCE_HOME/data/governance/project_dumps/export gsk-tech_ch-api-portal.zip ~C:\Users\sjr53330\Desktop\sonar project

Requirement: I need to copy 15 project from one sonarqube application container to another application container. Note: source container has 465 projects out of we need to copy only 15 projects.

Thanks in advance!

Hi,

Your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

8.4 → 8.9.8 → 9.5 (last step optional)

You may find the Upgrade Guide helpful. If you have questions about upgrading, feel free to open a new thread for that here.

Regarding your question, this feature is possible starting in Enterprise Edition($$)

 
HTH,
Ann

Yes, we are using enterprise edition. How to import the projects from sonarqube UI to locally.

Yes, we are using enterprise edition. How to export the projects from sonarqube UI to locally.

Hi,

Take a look at the Project Move feature.

 
HTH,
Ann